summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey C. Ollie <jeff@ocjtech.us>2007-03-29 12:27:52 -0500
committerJeffrey C. Ollie <jcollie@lt26923.campus.dmacc.edu>2009-09-01 08:41:02 -0500
commitc8555f01ba8ed569682e9d1c0651ee31ada5ca74 (patch)
tree7e7e043057571b809ab824d530246c5b850c8f52
parent7af051864cca1135d965257bf4e717c3bc51e802 (diff)
downloadrancid-c8555f01ba8ed569682e9d1c0651ee31ada5ca74.tar.gz
rancid-c8555f01ba8ed569682e9d1c0651ee31ada5ca74.tar.xz
rancid-c8555f01ba8ed569682e9d1c0651ee31ada5ca74.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 c3892de..b0d5787 100644
--- a/bin/control_rancid.in
+++ b/bin/control_rancid.in
@@ -533,7 +533,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