diff options
Diffstat (limited to 'git-stash.sh')
-rwxr-xr-x | git-stash.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-stash.sh b/git-stash.sh index 30425ce6df..7ba61625ba 100755 --- 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" |