aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-21 14:57:41 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-21 14:57:41 -0800
commit7dccadf363f9d9ff564ad34117266b2d557a2bc8 (patch)
tree8c2eede9c5628b6c8f0fdcb3e756e204c49dea9e /t
parent66b2ed09c2f0f212c5cd5c095c1f1052ecbb9491 (diff)
downloadgit-7dccadf363f9d9ff564ad34117266b2d557a2bc8.tar.gz
git-7dccadf363f9d9ff564ad34117266b2d557a2bc8.tar.xz
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')
-rwxr-xr-xt/t3301-notes.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh
index 977d65365..5d9604b81 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 &&