projects
/
cmccabe-bin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bc61883
)
git-identity.sh: set git config diff.noprefix true
author
Colin Patrick Mccabe
<cmccabe@alumni.cmu.edu>
Tue, 21 Feb 2012 20:01:55 +0000 (12:01 -0800)
committer
Colin 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
patch
|
blob
|
history
diff --git
a/git-identity.sh
b/git-identity.sh
index
07cf63d
..
e69bceb
100755
(executable)
--- 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}"