diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-08 13:56:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-08 13:56:05 -0700 |
commit | 99a0a6e09f2c9737d1155f25e8cd4c3bc512a8ea (patch) | |
tree | 4314a022fce7bee0e8e849c9e0271d52ddd1a07d /send-pack.c | |
parent | b10d0ec7321a6bd6cc1a62f44fee305a0d184dca (diff) | |
download | git-99a0a6e09f2c9737d1155f25e8cd4c3bc512a8ea.tar.gz git-99a0a6e09f2c9737d1155f25e8cd4c3bc512a8ea.tar.xz |
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.
Diffstat (limited to 'send-pack.c')
0 files changed, 0 insertions, 0 deletions