mirror of
https://github.com/git/git.git
synced 2026-04-01 20:40:08 +02:00
Merge branch 'master' of git://repo.or.cz/alt-git
This commit is contained in:
@@ -24,6 +24,7 @@ check_show 13000000 '5 months ago'
|
||||
check_show 37500000 '1 year, 2 months ago'
|
||||
check_show 55188000 '1 year, 9 months ago'
|
||||
check_show 630000000 '20 years ago'
|
||||
check_show 31449600 '12 months ago'
|
||||
|
||||
check_parse() {
|
||||
echo "$1 -> $2" >expect
|
||||
|
||||
@@ -33,6 +33,8 @@ Magic arguments
|
||||
--quux means --quux
|
||||
-NUM set integer to NUM
|
||||
+ same as -b
|
||||
--ambiguous positive ambiguity
|
||||
--no-ambiguous negative ambiguity
|
||||
|
||||
Standard options
|
||||
--abbrev[=<n>] use <n> digits to display SHA-1s
|
||||
@@ -315,4 +317,22 @@ test_expect_success 'OPT_NUMBER_CALLBACK() works' '
|
||||
test_cmp expect output
|
||||
'
|
||||
|
||||
cat >expect <<EOF
|
||||
boolean: 0
|
||||
integer: 0
|
||||
timestamp: 0
|
||||
string: (not set)
|
||||
abbrev: 7
|
||||
verbose: 0
|
||||
quiet: no
|
||||
dry run: no
|
||||
file: (not set)
|
||||
EOF
|
||||
|
||||
test_expect_success 'negation of OPT_NONEG flags is not ambiguous' '
|
||||
test-parse-options --no-ambig >output 2>output.err &&
|
||||
test ! -s output.err &&
|
||||
test_cmp expect output
|
||||
'
|
||||
|
||||
test_done
|
||||
|
||||
0
t/t5531-deep-submodule-push.sh
Normal file → Executable file
0
t/t5531-deep-submodule-push.sh
Normal file → Executable file
0
t/t9501-gitweb-standalone-http-status.sh
Normal file → Executable file
0
t/t9501-gitweb-standalone-http-status.sh
Normal file → Executable file
Reference in New Issue
Block a user