summaryrefslogtreecommitdiff
path: root/sha1_name.c
AgeCommit message (Expand)AuthorFilesLines
2007-02-08reflog: handle $name => remotes/%s/HEAD mapping consistently for logsLibravatar Junio C Hamano1-8/+21
2007-02-08log --reflog: use dwim_logLibravatar Johannes Schindelin1-1/+1
2007-02-03Enable HEAD@{...} and make it independent from the current branchLibravatar Nicolas Pitre1-26/+36
2007-02-01provide a nice @{...} syntax to always mean the current branch reflogLibravatar Nicolas Pitre1-6/+11
2007-02-01prevent HEAD reflog to be interpreted as current branch reflogLibravatar Nicolas Pitre1-1/+15
2007-01-19Extend read_ref_at() to be usable from places other than sha1_name.Libravatar Junio C Hamano1-1/+15
2007-01-19dwim_ref(): Separate name-to-ref DWIM code out.Libravatar Junio C Hamano1-14/+24
2006-11-01Merge branch 'lj/refs'Libravatar Junio C Hamano1-23/+33
2006-10-23sha1_name.c: avoid compilation warnings.Libravatar Junio C Hamano1-1/+1
2006-10-18Reject hexstring longer than 40-bytes in get_short_sha1()Libravatar pclouds@gmail.com1-1/+1
2006-10-05ref-log: allow ref@{count} syntax.Libravatar Junio C Hamano1-17/+27
2006-09-27Merge branch 'master' into lj/refsLibravatar Junio C Hamano1-0/+26
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