summaryrefslogtreecommitdiff
path: root/sha1_name.c
AgeCommit message (Expand)AuthorFilesLines
2006-09-20Tell between packed, unpacked and symbolic refs.Libravatar Junio C Hamano1-1/+1
2006-09-20sha1_name.c: understand "describe" output as a valid object nameLibravatar Junio C Hamano1-0/+26
2006-09-17Make ref resolution sanerLibravatar Linus Torvalds1-7/+7
2006-09-02Replace uses of strdup with xstrdup.Libravatar Shawn Pearce1-1/+1
2006-08-23Convert memset(hash,0,20) to hashclr(hash).Libravatar Junio C Hamano1-1/+1
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Libravatar Shawn Pearce1-11/+11
2006-08-17Do not use memcmp(sha1_1, sha1_2, 20) with hardcoded length.Libravatar David Rientjes1-3/+3
2006-08-15make inline is_null_sha1 globalLibravatar David Rientjes1-1/+1
2006-08-09find_unique_abbrev() with len=0 should not abbreviateLibravatar Junio C Hamano1-1/+1
2006-07-12Remove TYPE_* constant macros and use object_type enums consistently.Libravatar Linus Torvalds1-6/+6
2006-06-24Rename safe_strncpy() to strlcpy().Libravatar Peter Eriksen1-1/+1
2006-06-17Shrink "struct object" a bitLibravatar Linus Torvalds1-11/+11
2006-06-16Implement safe_strncpy() as strlcpy() and use it more.Libravatar Peter Eriksen1-2/+1
2006-05-19Change 'master@noon' syntax to 'master@{noon}'.Libravatar Shawn Pearce1-10/+17
2006-05-17Fix ref log parsing so it works properly.Libravatar Shawn Pearce1-0/+1
2006-05-17Support 'master@2 hours ago' syntaxLibravatar Shawn Pearce1-17/+42
2006-05-08get_sha1() - fix infinite loop on nonexistent stage.Libravatar Junio C Hamano1-0/+1
2006-04-30get_sha1(): :path and :[0-3]:path to extract from index.Libravatar Junio C Hamano1-8/+46
2006-04-19get_tree_entry(): make it available from tree-walkLibravatar Junio C Hamano1-52/+0
2006-04-19sha1_name.c: no need to include diff.h; tree-walk.h will do.Libravatar Junio C Hamano1-1/+1
2006-04-19sha1_name.c: prepare to make get_tree_entry() reusable from others.Libravatar Junio C Hamano1-9/+10
2006-04-18get_sha1() shorthands for blob/tree objectsLibravatar Linus Torvalds1-1/+66
2006-03-23sha1_name: warning ambiguous refs.Libravatar Junio C Hamano1-3/+2
2006-03-21get_sha1_basic(): try refs/... and finally refs/remotes/$foo/HEADLibravatar Junio C Hamano1-11/+12
2006-03-20core.warnambiguousrefs: warns when "name" is used and both "name" branch and ...Libravatar Junio C Hamano1-3/+20
2006-02-10find_unique_abbrev() simplification.Libravatar Junio C Hamano1-2/+4
2006-02-02get_sha1_1: allow octopus^12 to be properly parsed.Libravatar Junio C Hamano1-23/+16
2006-01-28abbrev cleanup: use symbolic constantsLibravatar Junio C Hamano1-1/+1
2006-01-26Use symbolic name SHORT_NAME_AMBIGUOUS as error return valueLibravatar Uwe Zeisberger1-1/+1
2005-12-19diff: --abbrev optionLibravatar Junio C Hamano1-0/+3
2005-12-17Revert "get_sha1_basic(): corner case ambiguity fix"Libravatar Junio C Hamano1-1/+1
2005-12-17Remove misguided branch disambiguation.Libravatar Junio C Hamano1-30/+3
2005-12-15get_sha1_basic(): corner case ambiguity fixLibravatar Junio C Hamano1-9/+26
2005-11-21Make sure heads/foo and tags/foo do not confuse things.Libravatar Junio C Hamano1-3/+14
2005-11-02Be careful when dereferencing tags.Libravatar Junio C Hamano1-1/+1
2005-10-28Be more careful about reference parsingLibravatar Linus Torvalds1-0/+27
2005-10-19Make sure we barf on ref^{type} failure.Libravatar Junio C Hamano1-1/+3
2005-10-15Introduce notation "ref^{type}".Libravatar Junio C Hamano1-0/+83
2005-10-11show-branch: optionally use unique prefix as name.Libravatar Junio C Hamano1-7/+33
2005-10-03Make sure get_sha1 does not accept ambiguous sha1 prefix (again).Libravatar Junio C Hamano1-6/+15
2005-10-03Error message from get_sha1() on ambiguous short SHA1.Libravatar Junio C Hamano1-1/+1
2005-10-02Make sure get_sha1 does not accept ambiguous sha1 prefix.Libravatar Junio C Hamano1-21/+68
2005-10-01[PATCH] Allow reading "symbolic refs" that point to other refsLibravatar Linus Torvalds1-16/+1
2005-09-20Fix extended short SHA1 name completionLibravatar Linus Torvalds1-7/+5
2005-08-22[PATCH] Add a new extended SHA1 syntax <name>~<num>Libravatar Junio C Hamano1-0/+41
2005-08-21[PATCH] sha1_name: do not accept .git/refs/snap/.Libravatar Junio C Hamano1-1/+0
2005-08-13[PATCH] Make get_sha1_basic() more carefulLibravatar Linus Torvalds1-1/+1
2005-08-13[PATCH] Make sure git-resolve-script always works on commitsLibravatar Linus Torvalds1-7/+3
2005-08-10[PATCH] Fix git-rev-parse's parent handlingLibravatar Johannes Schindelin1-3/+6
2005-08-05Update get_sha1() to grok extended format.Libravatar Junio C Hamano1-0/+228