Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
script with rev-list instead of log
[gitweb.git]
/
git-stash.sh
diff --git
a/git-stash.sh
b/git-stash.sh
index 3a0685f1893098e8f5c877f509183c8434e7c028..0726a4a725d75212539c9fce9e657de04bc227c3 100755
(executable)
--- a/
git-stash.sh
+++ b/
git-stash.sh
@@
-57,7
+57,7
@@
create_stash () {
# state of the base commit
if b_commit=$(git rev-parse --verify HEAD)
then
- head=$(git
log --no-color --abbrev-commit --pretty=
oneline -n 1 HEAD --)
+ head=$(git
rev-list --
oneline -n 1 HEAD --)
else
die "You do not have the initial commit yet"
fi