File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -620,7 +620,7 @@ core.alternateRefsCommand::
620
620
When advertising tips of available history from an alternate, use the shell to
621
621
execute the specified command instead of linkgit:git-for-each-ref[1]. The
622
622
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
624
624
--format='%(objectname)'`).
625
625
+
626
626
Note that you cannot generally put `git for-each-ref` directly into the config
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ test_expect_success 'with core.alternateRefsCommand' '
23
23
--format="%(objectname)" \
24
24
refs/heads/public/
25
25
EOF
26
- test_config -C fork core.alternateRefsCommand alternate-refs &&
26
+ test_config -C fork core.alternateRefsCommand ./ alternate-refs &&
27
27
git rev-parse public/branch >expect &&
28
28
printf "0000" | git receive-pack fork >actual &&
29
29
extract_haves <actual >actual.haves &&
You can’t perform that action at this time.
0 commit comments