Skip to content

Commit 107b9ba

Browse files
committed
Merge branch 'tb/filter-alternate-refs'
Test fix. * tb/filter-alternate-refs: t5410: use longer path for sample script Documentation/config.txt: fix typo in core.alternateRefsCommand
2 parents 8a0d060 + e6641d2 commit 107b9ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ core.alternateRefsCommand::
620620
When advertising tips of available history from an alternate, use the shell to
621621
execute the specified command instead of linkgit:git-for-each-ref[1]. The
622622
first argument is the absolute path of the alternate. Output must contain one
623-
hex object id per line (i.e., the same as produce by `git for-each-ref
623+
hex object id per line (i.e., the same as produced by `git for-each-ref
624624
--format='%(objectname)'`).
625625
+
626626
Note that you cannot generally put `git for-each-ref` directly into the config

t/t5410-receive-pack-alternates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test_expect_success 'with core.alternateRefsCommand' '
2323
--format="%(objectname)" \
2424
refs/heads/public/
2525
EOF
26-
test_config -C fork core.alternateRefsCommand alternate-refs &&
26+
test_config -C fork core.alternateRefsCommand ./alternate-refs &&
2727
git rev-parse public/branch >expect &&
2828
printf "0000" | git receive-pack fork >actual &&
2929
extract_haves <actual >actual.haves &&

0 commit comments

Comments
 (0)