Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix adding a submodule with a remote url
[gitweb.git]
/
git-stash.sh
diff --git
a/git-stash.sh
b/git-stash.sh
index 30425ce6df8b8da9b105fa7d8e958936420983ed..7ba61625baff8236f51d6c0babe9747c43664351 100755
(executable)
--- a/
git-stash.sh
+++ b/
git-stash.sh
@@
-57,7
+57,7
@@
save_stash () {
# state of the index
i_tree=$(git write-tree) &&
- i_commit=$(printf 'index on %s' "$msg" |
+ i_commit=$(printf 'index on %s
\n
' "$msg" |
git commit-tree $i_tree -p $b_commit) ||
die "Cannot save the current index state"