Code

Add "git_path()" and "head_ref()" helper functions.
authorLinus Torvalds <torvalds@g5.osdl.org>
Tue, 5 Jul 2005 18:31:32 +0000 (11:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 5 Jul 2005 18:31:32 +0000 (11:31 -0700)
commit723c31fea2f1c4994de837bda9022ffa8b6de1bb
tree4c8c636dd58a7489cf033f3ac8682aeab453385d
parent7a662e896bcd391265477e304d7af6e5d2ca1deb
Add "git_path()" and "head_ref()" helper functions.

"git_path()" returns a static pathname pointer into the git directory
using a printf-like format specifier.

"head_ref()" works like "for_each_ref()", except for just the HEAD.
cache.h
fetch-pack.c
refs.c
refs.h
send-pack.c
sha1_file.c
upload-pack.c