author | Junio C Hamano <junkio@cox.net> | |
Thu, 21 Sep 2006 05:02:01 +0000 (22:02 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 21 Sep 2006 05:02:01 +0000 (22:02 -0700) | ||
commit | 8da197755450d4f16018bd4b5486dc8ed88b0f2a | |
tree | 9317d63e33d83995b6346eea465a4d290f991087 | tree | snapshot |
parent | cb5d709ff8a4bae19d57a470ba2b137c25938a44 | commit | diff |
Tell between packed, unpacked and symbolic refs.
This adds a "int *flag" parameter to resolve_ref() and makes
for_each_ref() family to call callback function with an extra
"int flag" parameter. They are used to give two bits of
information (REF_ISSYMREF and REF_ISPACKED) about the ref.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This adds a "int *flag" parameter to resolve_ref() and makes
for_each_ref() family to call callback function with an extra
"int flag" parameter. They are used to give two bits of
information (REF_ISSYMREF and REF_ISPACKED) about the ref.
Signed-off-by: Junio C Hamano <junkio@cox.net>
23 files changed:
builtin-fmt-merge-msg.c | diff | blob | history | |
builtin-name-rev.c | diff | blob | history | |
builtin-pack-refs.c | diff | blob | history | |
builtin-prune.c | diff | blob | history | |
builtin-push.c | diff | blob | history | |
builtin-rev-parse.c | diff | blob | history | |
builtin-show-branch.c | diff | blob | history | |
builtin-symbolic-ref.c | diff | blob | history | |
cache.h | diff | blob | history | |
describe.c | diff | blob | history | |
fetch-pack.c | diff | blob | history | |
fetch.c | diff | blob | history | |
fsck-objects.c | diff | blob | history | |
http-push.c | diff | blob | history | |
receive-pack.c | diff | blob | history | |
refs.c | diff | blob | history | |
refs.h | diff | blob | history | |
revision.c | diff | blob | history | |
send-pack.c | diff | blob | history | |
server-info.c | diff | blob | history | |
sha1_name.c | diff | blob | history | |
upload-pack.c | diff | blob | history | |
wt-status.c | diff | blob | history |