diff options
| author | Junio C Hamano <gitster@pobox.com> | 2022-04-04 10:56:21 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-04-04 10:56:21 -0700 |
| commit | 3ff8cbfe8a333f55931fa9b588f106e060a67079 (patch) | |
| tree | d4096bb40c2513a46d6dfd4ecbbbe219c158a683 /t/test-lib-functions.sh | |
| parent | The 17th batch (diff) | |
| parent | reflog: fix 'show' subcommand's argv (diff) | |
| download | git-3ff8cbfe8a333f55931fa9b588f106e060a67079.tar.gz git-3ff8cbfe8a333f55931fa9b588f106e060a67079.zip | |
Merge branch 'ab/reflog-parse-options'
"git reflog" command now uses parse-options API to parse its
command line options.
* ab/reflog-parse-options:
reflog: fix 'show' subcommand's argv
reflog [show]: display sensible -h output
reflog: convert to parse_options() API
reflog exists: use parse_options() API
git reflog [expire|delete]: make -h output consistent with SYNOPSIS
reflog: move "usage" variables and use macros
reflog tests: add missing "git reflog exists" tests
reflog: refactor cmd_reflog() to "if" branches
reflog.c: indent argument lists
Diffstat (limited to 't/test-lib-functions.sh')
| -rw-r--r-- | t/test-lib-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index a027f0c409..1c3d65e6ea 100644 --- a/t/test-lib-functions.sh +++ b/t/test-lib-functions.sh @@ -329,7 +329,7 @@ test_commit () { else $echo "${3-$1}" >"$indir$file" fi && - git ${indir:+ -C "$indir"} add "$file" && + git ${indir:+ -C "$indir"} add -- "$file" && if test -z "$notick" then test_tick |
