summaryrefslogtreecommitdiff
path: root/tar-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-21 09:42:04 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-21 09:42:04 (GMT)
commitc51d13692d4e451c755dd7da3521c5db395df192 (patch)
tree1bb87df665eb1e81f8b780f2c8372da500b33dd0 /tar-tree.c
parent2f8acdb38e513e4b983209563faf4c1d38c4013e (diff)
downloadgit-c51d13692d4e451c755dd7da3521c5db395df192.zip
git-c51d13692d4e451c755dd7da3521c5db395df192.tar.gz
git-c51d13692d4e451c755dd7da3521c5db395df192.tar.bz2
get_sha1_basic(): try refs/... and finally refs/remotes/$foo/HEAD
This implements the suggestion by Jeff King to use refs/remotes/$foo/HEAD to interpret a shorthand "$foo" to mean the primary branch head of a tracked remote. clone needs to be told about this convention as well. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tar-tree.c')
0 files changed, 0 insertions, 0 deletions