From: Uwe Kleine-König Date: Tue, 03 Jul 2007 08:59:06 GMT Subject: [PATCH] stash: end commit log with a newline Message-ID: <20070703085906.GA4963@lala> 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 --- git-stash.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-stash.sh b/git-stash.sh index 16979ab..9deda44 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" -- 1.5.2.2.1451.gb0e5e -- Uwe Kleine-König cal 9 1752 | grep 10