Clarify why we can't do 'git rev-list' with a path.
This commit is contained in:
@ -338,9 +338,9 @@ cmd_split()
|
|||||||
unrevs="$(find_existing_splits "$dir" "$revs")"
|
unrevs="$(find_existing_splits "$dir" "$revs")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We can't restrict rev-list to only "$dir" here, because that leaves out
|
# We can't restrict rev-list to only $dir here, because some of our
|
||||||
# critical information about commit parents.
|
# parents have the $dir contents the root, and those won't match.
|
||||||
debug "git rev-list --reverse --parents $revs $unrevs"
|
# (and rev-list --follow doesn't seem to solve this)
|
||||||
git rev-list --reverse --parents $revs $unrevs |
|
git rev-list --reverse --parents $revs $unrevs |
|
||||||
while read rev parents; do
|
while read rev parents; do
|
||||||
debug
|
debug
|
||||||
|
Reference in New Issue
Block a user