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 | |
parent | Update draft Release Notes for 1.5.3 (diff) | |
download | tgif-843103d69388a5c74ed99753e1c162a66835b04d.tar.xz |
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>
-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" |