author | Linus Torvalds <torvalds@g5.osdl.org> | |
Fri, 8 Jul 2005 20:56:05 +0000 (13:56 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Fri, 8 Jul 2005 20:56:05 +0000 (13:56 -0700) | ||
commit | 99a0a6e09f2c9737d1155f25e8cd4c3bc512a8ea | |
tree | 4314a022fce7bee0e8e849c9e0271d52ddd1a07d | tree | snapshot |
parent | b10d0ec7321a6bd6cc1a62f44fee305a0d184dca | commit | diff |
Make "for_each_ref()" always use the "canonical" refname.
It always uses a git-relative pathname, ie "refs/heads/master" instead of
".git/refs/heads/master" or whatever your GIT_DIR might be.
This way when we send refs back-and-forth between repositories, there's
never any question about GIT_DIR on either side.
It always uses a git-relative pathname, ie "refs/heads/master" instead of
".git/refs/heads/master" or whatever your GIT_DIR might be.
This way when we send refs back-and-forth between repositories, there's
never any question about GIT_DIR on either side.
refs.c | diff | blob | history |