summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-01-08 22:36:41 -0500
committerJunio C Hamano <gitster@pobox.com>2010-01-09 23:43:22 -0800
commit40c813e00c8de5725c7a6bb127fadedcce1f788f (patch)
treef32db8685fc9f12f07f05b9a8440d8d64791d64d /.gitattributes
parent48cc95ed4a5c4554f8914af3f300558da31a22dc (diff)
downloadgit-40c813e00c8de5725c7a6bb127fadedcce1f788f.tar.gz
Handle relative paths in submodule .git files
Commit 842abf0 (Teach resolve_gitlink_ref() about the .git file, 2008-02-20) taught resolve_gitlink_ref() to call read_gitfile_gently() to resolve .git files. In this commit teach read_gitfile_gently() to interpret a relative path in a .git file with respect to the file location. This change allows update-index to recognize a submodule that uses a relative path in its .git file. It previously failed because the relative path was wrongly interpreted with respect to the superproject directory. Signed-off-by: Brad King <brad.king@kitware.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions