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>2008-02-13 14:50:29 -0600
commitb472bc65895fc0877ce7857b969149039b33fe55 (patch)
tree477f867ccba9d6442e41dc73d344451697a32e87
parent08f05f4dc4419e69567f2f2dc785a3450fe4ec0e (diff)
downloadrancid-b472bc65895fc0877ce7857b969149039b33fe55.zip
rancid-b472bc65895fc0877ce7857b969149039b33fe55.tar.gz
rancid-b472bc65895fc0877ce7857b969149039b33fe55.tar.xz
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 3d894c2..57139d2 100644
--- a/bin/control_rancid.in
+++ b/bin/control_rancid.in
@@ -531,7 +531,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