]> git.ipfire.org Git - thirdparty/git.git/commit - sha1-name.c
sha1-name.c: remove the_repo from resolve_relative_path()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Tue, 16 Apr 2019 09:33:35 +0000 (16:33 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Apr 2019 09:56:53 +0000 (18:56 +0900)
commit0381f7f3e9c1ba03e56d360ce123cac84552955e
tree75c65022c6ad7d31d22a482ab994865f18279792
parent0488481e795e3cb683944e54bb0670a1c6e8b477
sha1-name.c: remove the_repo from resolve_relative_path()

"remove" is not entirely correct. But at least the function is aware
that if the given repo is not the_repository, then $CWD and
is_inside_work_tree() means nothing.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1-name.c