55 Commits (198a4f4ff0694cb5b906278fc1c2b6e7db4d2737)

Author SHA1 Message Date
Junio C Hamano 694500edbd sha1_name.c: avoid compilation warnings. 18 years ago
pclouds@gmail.com 8a83157e04 Reject hexstring longer than 40-bytes in get_short_sha1() 18 years ago
Junio C Hamano ab2a1a32ff ref-log: allow ref@{count} syntax. 18 years ago
Junio C Hamano 8da1977554 Tell between packed, unpacked and symbolic refs. 18 years ago
Junio C Hamano 7dd45e15c2 sha1_name.c: understand "describe" output as a valid object name 18 years ago
Linus Torvalds ed378ec7e8 Make ref resolution saner 18 years ago
Junio C Hamano 81a71734bb Revert "Make it possible to set up libgit directly (instead of from the environment)" 18 years ago
Shawn Pearce 9befac470b Replace uses of strdup with xstrdup. 18 years ago
Junio C Hamano a8e0d16d85 Convert memset(hash,0,20) to hashclr(hash). 18 years ago
Shawn Pearce e702496e43 Convert memcpy(a,b,20) to hashcpy(a,b). 18 years ago
David Rientjes a89fccd281 Do not use memcmp(sha1_1, sha1_2, 20) with hardcoded length. 19 years ago
David Rientjes 0bef57ee44 make inline is_null_sha1 global 19 years ago
Junio C Hamano 02c5cba200 find_unique_abbrev() with len=0 should not abbreviate 19 years ago
Linus Torvalds 1974632c66 Remove TYPE_* constant macros and use object_type enums consistently. 19 years ago
Petr Baudis 0270083ded Make it possible to set up libgit directly (instead of from the environment) 19 years ago
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