| author | Linus Torvalds <torvalds@g5.osdl.org> | |
| Tue, 5 Jul 2005 18:31:32 +0000 (11:31 -0700) | ||
| committer | Linus Torvalds <torvalds@g5.osdl.org> | |
| Tue, 5 Jul 2005 18:31:32 +0000 (11:31 -0700) | ||
| commit | 723c31fea2f1c4994de837bda9022ffa8b6de1bb | |
| tree | 4c8c636dd58a7489cf033f3ac8682aeab453385d | tree | snapshot |
| parent | 7a662e896bcd391265477e304d7af6e5d2ca1deb | commit | diff |
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.
"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 | diff | blob | history | |
| fetch-pack.c | diff | blob | history | |
| refs.c | diff | blob | history | |
| refs.h | diff | blob | history | |
| send-pack.c | diff | blob | history | |
| sha1_file.c | diff | blob | history | |
| upload-pack.c | diff | blob | history |