From: Colin Patrick Mccabe Date: Tue, 21 Feb 2012 20:01:55 +0000 (-0800) Subject: git-identity.sh: set git config diff.noprefix true X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=612a2d277605db622a53e35ade6f190ad459cf65;p=cmccabe-bin git-identity.sh: set git config diff.noprefix true For the work identity, set "config diff.noprefix true". This makes it easier to generate Apache-style diff files. Signed-off-by: Colin McCabe --- diff --git a/git-identity.sh b/git-identity.sh index 07cf63d..e69bceb 100755 --- a/git-identity.sh +++ b/git-identity.sh @@ -18,6 +18,7 @@ case $1 in work) git config user.email cmccabe@cloudera.com --file || die "${LINENO}" git config user.name "Colin Patrick Mccabe" --file || die "${LINENO}" + git config diff.noprefix true ;; priv) git config user.email cmccabe@alumni.cmu.edu --file || die "${LINENO}"