summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4fb5fd5)
raw | patch | inline | side by side (parent: 4fb5fd5)
author | Jean-Luc Herren <jlh@gmx.ch> | |
Wed, 12 Sep 2007 18:45:03 +0000 (20:45 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 12 Sep 2007 19:05:56 +0000 (12:05 -0700) |
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 843103d69388a5c74ed99753e1c162a66835b04d.
Signed-off-by: Jean-Luc Herren <jlh@gmx.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
the shell prompt at its end after a 'git cat-file commit $id'. This is
similar to what was fixed in 843103d69388a5c74ed99753e1c162a66835b04d.
Signed-off-by: Jean-Luc Herren <jlh@gmx.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh | patch | blob | history |
diff --git a/git-stash.sh b/git-stash.sh
index 30425ce6df8b8da9b105fa7d8e958936420983ed..7ba61625baff8236f51d6c0babe9747c43664351 100755 (executable)
--- a/git-stash.sh
+++ b/git-stash.sh
# 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"