40 Commits (a9ed376b158faf82d3685b51d546ccaeda716da3)

Author SHA1 Message Date
Peter Eriksen 817151e61a Rename safe_strncpy() to strlcpy(). 19 years ago
Linus Torvalds 885a86abe2 Shrink "struct object" a bit 19 years ago
Peter Eriksen bfbd0bb6ec Implement safe_strncpy() as strlcpy() and use it more. 19 years ago
Shawn Pearce cce91a2cae Change 'master@noon' syntax to 'master@{noon}'. 19 years ago
Shawn Pearce 70e34b2dc8 Fix ref log parsing so it works properly. 19 years ago
Shawn Pearce d556fae2c0 Support 'master@2 hours ago' syntax 19 years ago
Junio C Hamano e7cef45fbc get_sha1() - fix infinite loop on nonexistent stage. 19 years ago
Junio C Hamano 73b0e5af9d get_sha1(): :path and :[0-3]:path to extract from index. 19 years ago
Junio C Hamano 4dcff634e6 get_tree_entry(): make it available from tree-walk 19 years ago
Junio C Hamano f3ab49db1b sha1_name.c: no need to include diff.h; tree-walk.h will do. 19 years ago
Junio C Hamano 041a7308de sha1_name.c: prepare to make get_tree_entry() reusable from others. 19 years ago
Linus Torvalds 5119602a99 get_sha1() shorthands for blob/tree objects 19 years ago
Junio C Hamano 84a9b58c42 sha1_name: warning ambiguous refs. 19 years ago
Junio C Hamano c51d13692d get_sha1_basic(): try refs/... and finally refs/remotes/$foo/HEAD 19 years ago
Junio C Hamano 2f8acdb38e core.warnambiguousrefs: warns when "name" is used and both "name" branch and tag exists. 19 years ago
Junio C Hamano 297a1aadbe find_unique_abbrev() simplification. 19 years ago
Junio C Hamano 0601dbe178 get_sha1_1: allow octopus^12 to be properly parsed. 19 years ago
Junio C Hamano 46a6c2620b abbrev cleanup: use symbolic constants 19 years ago
Uwe Zeisberger e974c9ab03 Use symbolic name SHORT_NAME_AMBIGUOUS as error return value 19 years ago
Junio C Hamano 47dd0d595d diff: --abbrev option 19 years ago
Junio C Hamano c054d64e87 Revert "get_sha1_basic(): corner case ambiguity fix" 19 years ago
Junio C Hamano 011fbc7f07 Remove misguided branch disambiguation. 19 years ago
Junio C Hamano 6677c4665a get_sha1_basic(): corner case ambiguity fix 19 years ago
Junio C Hamano 924215024c Make sure heads/foo and tags/foo do not confuse things. 19 years ago
Junio C Hamano 9534f40bc4 Be careful when dereferencing tags. 19 years ago
Linus Torvalds af13cdf298 Be more careful about reference parsing 19 years ago
Junio C Hamano 6e1c6c103c Make sure we barf on ref^{type} failure. 19 years ago
Junio C Hamano 4baf5dda9e Introduce notation "ref^{type}". 19 years ago
Junio C Hamano 5385f52da8 Introduce notation "ref^{type}". 19 years ago
Junio C Hamano 013f276eb7 show-branch: optionally use unique prefix as name. 19 years ago
Junio C Hamano 0bc4589020 Make sure get_sha1 does not accept ambiguous sha1 prefix (again). 19 years ago
Junio C Hamano 5a82b4fb3e Error message from get_sha1() on ambiguous short SHA1. 19 years ago
Junio C Hamano 99a19b4302 Make sure get_sha1 does not accept ambiguous sha1 prefix. 19 years ago
Linus Torvalds ca8db1424d [PATCH] Allow reading "symbolic refs" that point to other refs 19 years ago
Linus Torvalds af61c6e008 Fix extended short SHA1 name completion 19 years ago
Junio C Hamano 4f7599ac25 [PATCH] Add a new extended SHA1 syntax <name>~<num> 19 years ago
Junio C Hamano 1dfcfbce2d [PATCH] sha1_name: do not accept .git/refs/snap/. 19 years ago
Linus Torvalds 3c3852e33b [PATCH] Make get_sha1_basic() more careful 20 years ago
Linus Torvalds 02a4a32c2d [PATCH] Make sure git-resolve-script always works on commits 20 years ago
Johannes Schindelin ef0bd2e6e6 [PATCH] Fix git-rev-parse's parent handling 20 years ago
Junio C Hamano 9938af6a85 Update get_sha1() to grok extended format. 20 years ago