Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
man: rearrange git synopsis to fit in 80 lines
[gitweb.git]
/
git-sh-setup.sh
diff --git
a/git-sh-setup.sh
b/git-sh-setup.sh
index 8e427dab31c27bd78d9eac1ad15bc1f5dcc044c4..5d8e4e6c89f0471567a7aa1f07b054d8ac502e15 100644
(file)
--- a/
git-sh-setup.sh
+++ b/
git-sh-setup.sh
@@
-90,7
+90,7
@@
$LONG_USAGE"
fi
case "$1" in
- -h
|--h|--he|--hel|--help
)
+ -h)
echo "$LONG_USAGE"
exit
esac
@@
-200,7
+200,7
@@
get_author_ident_from_commit () {
s/.*/GIT_AUTHOR_EMAIL='\''&'\''/p
g
- s/^author [^<]* <[^>]*> \(.*\)$/\1/
+ s/^author [^<]* <[^>]*> \(.*\)$/
@
\1/
s/.*/GIT_AUTHOR_DATE='\''&'\''/p
q