aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-05-09 17:29:22 -0400
committerJunio C Hamano <gitster@pobox.com>2019-05-13 14:22:54 +0900
commit3c1dce8835a983ffc34f6656f665a04d9ce7da79 (patch)
tree64c548b8361e85b2711a039e62a4464aab66c54b /t/t4013/diff.diff_initial..side
parentsubmodule: drop unused prefix parameter from some functions (diff)
downloadgit-3c1dce8835a983ffc34f6656f665a04d9ce7da79.tar.gz
git-3c1dce8835a983ffc34f6656f665a04d9ce7da79.zip
clone: drop dest parameter from copy_alternates()
Ever since the inception of this function in e6baf4a1ae (clone: clone from a repository with relative alternates, 2011-08-22), the "dest" parameter has been unused. Instead, we use add_to_alternates_file(), which relies on git_pathdup() to find the right file. That in turn works because we will have initialized and entered the destination repo by this point. It's a bit subtle, but this is how it has always worked. And if our assumptions change, the test in t5601 from e6baf4a1ae should let us know. In the meantime, let's drop this unused and confusing parameter from copy_alternates(). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions