git-identity.sh: set git config diff.noprefix true
authorColin Patrick Mccabe <cmccabe@alumni.cmu.edu>
Tue, 21 Feb 2012 20:01:55 +0000 (12:01 -0800)
committerColin Patrick Mccabe <cmccabe@alumni.cmu.edu>
Tue, 21 Feb 2012 20:01:55 +0000 (12:01 -0800)
For the work identity, set "config diff.noprefix true".
This makes it easier to generate Apache-style diff files.

Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

git-identity.sh

index 07cf63d..e69bceb 100755 (executable)
@@ -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}"