Commit 6143fa2c authored by Jean-Luc Herren's avatar Jean-Luc Herren Committed by Junio C Hamano

stash: end index commit log with a newline

There was no newline at the end of the index commit message, putting
the shell prompt at its end after a 'git cat-file commit $id'.  This is
similar to what was fixed in 843103d6.
Signed-off-by: default avatarJean-Luc Herren <>
Signed-off-by: default avatarJunio C Hamano <>
parent 4fb5fd5d
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment