Merge branch 'jk/maint-quiet-is-synonym-to-s-in-log' into maint-1.7.11
* jk/maint-quiet-is-synonym-to-s-in-log: log: fix --quiet synonym for -s
This commit is contained in:
@ -108,4 +108,16 @@ test_expect_success 'showing range' '
|
||||
test_cmp expect actual.filtered
|
||||
'
|
||||
|
||||
test_expect_success '-s suppresses diff' '
|
||||
echo main3 >expect &&
|
||||
git show -s --format=%s main3 >actual &&
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_expect_success '--quiet suppresses diff' '
|
||||
echo main3 >expect &&
|
||||
git show --quiet --format=%s main3 >actual &&
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_done
|
||||
|
Reference in New Issue
Block a user