summaryrefslogtreecommitdiff
path: root/sha1_name.c
Commit message (Expand)AuthorAgeFilesLines
* provide a nice @{...} syntax to always mean the current branch reflogNicolas Pitre2007-02-011-6/+11
* prevent HEAD reflog to be interpreted as current branch reflogNicolas Pitre2007-02-011-1/+15
* Extend read_ref_at() to be usable from places other than sha1_name.Junio C Hamano2007-01-191-1/+15
* dwim_ref(): Separate name-to-ref DWIM code out.Junio C Hamano2007-01-191-14/+24
* Merge branch 'lj/refs'Junio C Hamano2006-11-011-23/+33
|\
| * sha1_name.c: avoid compilation warnings.Junio C Hamano2006-10-231-1/+1
| * ref-log: allow ref@{count} syntax.Junio C Hamano2006-10-051-17/+27
| * Merge branch 'master' into lj/refsJunio C Hamano2006-09-271-0/+26
| |\
| * | Tell between packed, unpacked and symbolic refs.Junio C Hamano2006-09-201-1/+1
| * | Make ref resolution sanerLinus Torvalds2006-09-171-7/+7
* | | Reject hexstring longer than 40-bytes in get_short_sha1()pclouds@gmail.com2006-10-181-1/+1
| |/ |/|
* | sha1_name.c: understand "describe" output as a valid object nameJunio C Hamano2006-09-201-0/+26
|/
* Replace uses of strdup with xstrdup.Shawn Pearce2006-09-021-1/+1
* Convert memset(hash,0,20) to hashclr(hash).Junio C Hamano2006-08-231-1/+1
* Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce2006-08-231-11/+11
* Do not use memcmp(sha1_1, sha1_2, 20) with hardcoded length.David Rientjes2006-08-171-3/+3
* make inline is_null_sha1 globalDavid Rientjes2006-08-151-1/+1
* find_unique_abbrev() with len=0 should not abbreviateJunio C Hamano2006-08-091-1/+1
* Remove TYPE_* constant macros and use object_type enums consistently.Linus Torvalds2006-07-121-6/+6
* Rename safe_strncpy() to strlcpy().Peter Eriksen2006-06-241-1/+1
* Shrink "struct object" a bitLinus Torvalds2006-06-171-11/+11
* Implement safe_strncpy() as strlcpy() and use it more.Peter Eriksen2006-06-161-2/+1
* Change 'master@noon' syntax to 'master@{noon}'.Shawn Pearce2006-05-191-10/+17
* Fix ref log parsing so it works properly.Shawn Pearce2006-05-171-0/+1
* Support 'master@2 hours ago' syntaxShawn Pearce2006-05-171-17/+42
* get_sha1() - fix infinite loop on nonexistent stage.Junio C Hamano2006-05-081-0/+1
* get_sha1(): :path and :[0-3]:path to extract from index.Junio C Hamano2006-04-301-8/+46
* get_tree_entry(): make it available from tree-walkJunio C Hamano2006-04-191-52/+0
* sha1_name.c: no need to include diff.h; tree-walk.h will do.Junio C Hamano2006-04-191-1/+1
* sha1_name.c: prepare to make get_tree_entry() reusable from others.Junio C Hamano2006-04-191-9/+10
* get_sha1() shorthands for blob/tree objectsLinus Torvalds2006-04-181-1/+66
* sha1_name: warning ambiguous refs.Junio C Hamano2006-03-231-3/+2
* get_sha1_basic(): try refs/... and finally refs/remotes/$foo/HEADJunio C Hamano2006-03-211-11/+12
* core.warnambiguousrefs: warns when "name" is used and both "name" branch and ...Junio C Hamano2006-03-201-3/+20
* find_unique_abbrev() simplification.Junio C Hamano2006-02-101-2/+4
* get_sha1_1: allow octopus^12 to be properly parsed.Junio C Hamano2006-02-021-23/+16
* abbrev cleanup: use symbolic constantsJunio C Hamano2006-01-281-1/+1
* Use symbolic name SHORT_NAME_AMBIGUOUS as error return valueUwe Zeisberger2006-01-261-1/+1
* diff: --abbrev optionJunio C Hamano2005-12-191-0/+3
* Revert "get_sha1_basic(): corner case ambiguity fix"Junio C Hamano2005-12-171-1/+1
* Remove misguided branch disambiguation.Junio C Hamano2005-12-171-30/+3
* get_sha1_basic(): corner case ambiguity fixJunio C Hamano2005-12-151-9/+26
* Make sure heads/foo and tags/foo do not confuse things.Junio C Hamano2005-11-211-3/+14
* Be careful when dereferencing tags.Junio C Hamano2005-11-021-1/+1
* Be more careful about reference parsingLinus Torvalds2005-10-281-0/+27
* Make sure we barf on ref^{type} failure.Junio C Hamano2005-10-191-1/+3
* Introduce notation "ref^{type}".Junio C Hamano2005-10-151-0/+83
* show-branch: optionally use unique prefix as name.Junio C Hamano2005-10-111-7/+33
* Make sure get_sha1 does not accept ambiguous sha1 prefix (again).Junio C Hamano2005-10-031-6/+15
* Error message from get_sha1() on ambiguous short SHA1.Junio C Hamano2005-10-031-1/+1