diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-21 14:57:41 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-21 14:57:41 -0800 |
commit | 7dccadf363f9d9ff564ad34117266b2d557a2bc8 (patch) | |
tree | 8c2eede9c5628b6c8f0fdcb3e756e204c49dea9e /t/t3301-notes.sh | |
parent | 66b2ed09c2f0f212c5cd5c095c1f1052ecbb9491 (diff) | |
download | git-7dccadf363f9d9ff564ad34117266b2d557a2bc8.tar.gz |
Fix "log --oneline" not to show notes
This option should be treated pretty much the same as --format="%h %s".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3301-notes.sh')
-rwxr-xr-x | t/t3301-notes.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh index 977d653651..5d9604b815 100755 --- a/t/t3301-notes.sh +++ b/t/t3301-notes.sh @@ -192,11 +192,13 @@ test_expect_success 'git format-patch --show-notes does show notes' ' grep spam output ' -for pretty in "" raw short medium full fuller format:%s +for pretty in \ + "" --pretty --pretty=raw --pretty=short --pretty=medium \ + --pretty=full --pretty=fuller --pretty=format:%s --oneline do case "$pretty" in "") p= not= negate="" ;; - ?*) p="--pretty=$pretty" not=" not" negate="!" ;; + ?*) p="$pretty" not=" not" negate="!" ;; esac test_expect_success "git show $pretty does$not show notes" ' git show $p >output && |