mirror of
https://github.com/git/git.git
synced 2024-11-01 23:07:55 +01:00
Clarify why we can't do 'git rev-list' with a path.
This commit is contained in:
parent
86de04c6eb
commit
1f73862f3b
1 changed files with 3 additions and 3 deletions
|
@ -338,9 +338,9 @@ cmd_split()
|
|||
unrevs="$(find_existing_splits "$dir" "$revs")"
|
||||
fi
|
||||
|
||||
# We can't restrict rev-list to only "$dir" here, because that leaves out
|
||||
# critical information about commit parents.
|
||||
debug "git rev-list --reverse --parents $revs $unrevs"
|
||||
# We can't restrict rev-list to only $dir here, because some of our
|
||||
# parents have the $dir contents the root, and those won't match.
|
||||
# (and rev-list --follow doesn't seem to solve this)
|
||||
git rev-list --reverse --parents $revs $unrevs |
|
||||
while read rev parents; do
|
||||
debug
|
||||
|
|
Loading…
Reference in a new issue