89 Commits (607bb3ff885727a099b39e16abd86f17ae502306)

Author SHA1 Message Date
Jeff King 861f00e349 fix reflog approxidate parsing bug 17 years ago
Linus Torvalds 621ff67594 rev-parse: fix meaning of rev~ vs rev~0. 17 years ago
Junio C Hamano b66fde9a28 find_unique_abbrev(): redefine semantics 17 years ago
Jim Meyering 8e0f70033b Avoid unnecessary "if-before-free" tests. 17 years ago
Martin Koegler f73df331a4 peel_onion: handle NULL 17 years ago
Martin Koegler 283cdbcf49 get_sha1_oneline: check return value of parse_object 17 years ago
Junio C Hamano 8177631547 expose a helper function peel_to_type(). 17 years ago
Martin Koegler affeef12fb deref_tag: handle return value NULL 17 years ago
Linus Torvalds 7a51ed66f6 Make on-disk index representation separate from in-core one 17 years ago
Johannes Schindelin 364d3e65a5 Allow ':/<oneline-prefix>' syntax to work with save_commit_buffer == 0 17 years ago
Steffen Prohaska 79803322c1 add refname_match() 17 years ago
Junio C Hamano 73013afd14 Make show_rfc2822_date() just another date output format. 18 years ago
Pierre Habouzit e1944f4074 Active_nr is unsigned, hence can't be < 0 18 years ago
James Bowes 1055880e7c rev-parse: Identify short sha1 sums correctly. 18 years ago
Shawn O. Pearce 693d2bc625 Attempt to delay prepare_alt_odb during get_sha1 18 years ago
Martin Koegler a0cd87a570 add get_sha1_with_mode 18 years ago
Nicolas Pitre 57059091fa get rid of num_packed_objects() 18 years ago
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