diff options
author | Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> | 2007-07-03 10:59:06 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-03 19:04:49 -0700 |
commit | 843103d69388a5c74ed99753e1c162a66835b04d (patch) | |
tree | eb7e5966b8ef4b258896a1b1050d6c8b9d62c45e /git-stash.sh | |
parent | 14a4091c16d14fd461f576e4bf1395da65e5d95e (diff) | |
download | git-843103d69388a5c74ed99753e1c162a66835b04d.tar.gz |
stash: end commit log with a newline
If I do
git cat-file commit $commitid
for a commit created by stash, the next prompt starts directly after the
shortlog of HEAD.
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 16979ab41f..9deda443ed 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -67,7 +67,7 @@ save_stash () { die "Cannot save the current worktree state" # create the stash - w_commit=$(printf 'WIP on %s' "$msg" | + w_commit=$(printf 'WIP on %s\n' "$msg" | git commit-tree $w_tree -p $b_commit -p $i_commit) || die "Cannot record working tree state" |