diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-04-04 20:56:21 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-04-04 20:56:21 +0300 |
commit | 3ff8cbfe8a333f55931fa9b588f106e060a67079 (patch) | |
tree | d4096bb40c2513a46d6dfd4ecbbbe219c158a683 /t/test-lib-functions.sh | |
parent | 4b6846d9dcd391164b72bd70e8a0c0e09776afe3 (diff) | |
parent | 840344db7578a794fd25c44587e4a08dfe4f41cc (diff) |
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 |