Code

Teach resolve_gitlink_ref() about the .git file
authorLars Hjemli <hjemli@gmail.com>
Wed, 20 Feb 2008 22:13:14 +0000 (23:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Apr 2008 08:22:50 +0000 (01:22 -0700)
commit842abf06f36b5b31050db6406265972e3e1cc189
tree06d8b89bf2cd6ca8f4878fffe9392673eaac5c38
parentb44ebb19e3234c5dffe9869ceac5408bb44c2e20
Teach resolve_gitlink_ref() about the .git file

When .git in a submodule is a file, resolve_gitlink_ref() needs to pick up
the real GIT_DIR of the submodule from that file.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c