mirror of
https://github.com/git/git.git
synced 2024-10-30 22:07:53 +01:00
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
This commit is contained in:
commit
107b9bad95
2 changed files with 2 additions and 2 deletions
|
@ -620,7 +620,7 @@ core.alternateRefsCommand::
|
|||
When advertising tips of available history from an alternate, use the shell to
|
||||
execute the specified command instead of linkgit:git-for-each-ref[1]. The
|
||||
first argument is the absolute path of the alternate. Output must contain one
|
||||
hex object id per line (i.e., the same as produce by `git for-each-ref
|
||||
hex object id per line (i.e., the same as produced by `git for-each-ref
|
||||
--format='%(objectname)'`).
|
||||
+
|
||||
Note that you cannot generally put `git for-each-ref` directly into the config
|
||||
|
|
|
@ -23,7 +23,7 @@ test_expect_success 'with core.alternateRefsCommand' '
|
|||
--format="%(objectname)" \
|
||||
refs/heads/public/
|
||||
EOF
|
||||
test_config -C fork core.alternateRefsCommand alternate-refs &&
|
||||
test_config -C fork core.alternateRefsCommand ./alternate-refs &&
|
||||
git rev-parse public/branch >expect &&
|
||||
printf "0000" | git receive-pack fork >actual &&
|
||||
extract_haves <actual >actual.haves &&
|
||||
|
|
Loading…
Reference in a new issue