summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2007-03-29 12:27:52 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2007-03-29 12:27:52 -0500
commit2d9a6ae9d581c98174a9e022fc202c5c3cec2962 (patch)
tree060b23544a6e0b84a52ebae321f974147e7c4f30
parent0987f11973a89eda1781ca23a8f0b84c5f368856 (diff)
downloadrancid-2d9a6ae9d581c98174a9e022fc202c5c3cec2962.tar.gz
rancid-2d9a6ae9d581c98174a9e022fc202c5c3cec2962.tar.xz
rancid-2d9a6ae9d581c98174a9e022fc202c5c3cec2962.zip
Change diff options and don't filter the output.
-rw-r--r--bin/control_rancid.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/control_rancid.in b/bin/control_rancid.in
index a972f1d..3f74814 100644
--- a/bin/control_rancid.in
+++ b/bin/control_rancid.in
@@ -511,7 +511,7 @@ case $RCSSYS in
git add configs/$router
done
git commit -m "$message"
- git diff HEAD^ HEAD -- configs | sed -e '/^diff /d' -e '/^index /'d -e '/^new file /d' -e '/^--- /d' -e 's/^+++ b/+++ /' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff
+ git diff --patch-with-stat HEAD^ HEAD -- . >$TMP.diff
) 200>$BASEDIR/.lockfile
;;
esac