67 Commits (2bfe3cec92be4f5e3bfc0e71ed560df4a726c07b)

Author SHA1 Message Date
Nicolas Pitre d72308e01c clean up and optimize nth_packed_object_sha1() usage 18 years ago
Linus Torvalds 1358e7d670 Re-fix get_sha1_oneline() 18 years ago
Jim Meyering ed8ad7e2e2 I like the idea of the new ':/<oneline prefix>' notation, and gave it 18 years ago
Shawn O. Pearce 326bf39677 Use uint32_t for all packed object counts. 18 years ago
Johannes Schindelin 28a4d94044 object name: introduce ':/<oneline prefix>' notation 18 years ago
Junio C Hamano 40facde06e reflog: handle $name => remotes/%s/HEAD mapping consistently for logs 18 years ago
Johannes Schindelin eb3a48221f log --reflog: use dwim_log 18 years ago
Nicolas Pitre f2eba66d4d Enable HEAD@{...} and make it independent from the current branch 18 years ago
Nicolas Pitre 11cf8801d7 provide a nice @{...} syntax to always mean the current branch reflog 18 years ago
Nicolas Pitre fe55851624 prevent HEAD reflog to be interpreted as current branch reflog 18 years ago
Junio C Hamano 16d7cc90dd Extend read_ref_at() to be usable from places other than sha1_name. 18 years ago
Junio C Hamano e86eb6668e dwim_ref(): Separate name-to-ref DWIM code out. 18 years ago
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. 19 years ago
Junio C Hamano 7dd45e15c2 sha1_name.c: understand "describe" output as a valid object name 19 years ago
Linus Torvalds ed378ec7e8 Make ref resolution saner 19 years ago
Junio C Hamano 81a71734bb Revert "Make it possible to set up libgit directly (instead of from the environment)" 19 years ago
Shawn Pearce 9befac470b Replace uses of strdup with xstrdup. 19 years ago
Junio C Hamano a8e0d16d85 Convert memset(hash,0,20) to hashclr(hash). 19 years ago
Shawn Pearce e702496e43 Convert memcpy(a,b,20) to hashcpy(a,b). 19 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