107 Commits (b74d7efb108c9d3fd2d057b0c452583552a0577a)

Author SHA1 Message Date
Junio C Hamano 9e5b80cd87 Squelch overzealous "ignoring dangling symref" in an empty repository 16 years ago
Junio C Hamano 057e71384a Warn use of "origin" when remotes/origin/HEAD is dangling 16 years ago
Johannes Schindelin f265458f61 get_sha1_basic(): fix invalid memory access, found by valgrind 16 years ago
Junio C Hamano d7c03c1ff9 Simplify parsing branch switching events in reflog 16 years ago
Junio C Hamano 101d15e097 Introduce for_each_recent_reflog_ent(). 16 years ago
Junio C Hamano 39765e5941 interpret_nth_last_branch(): plug small memleak 16 years ago
Junio C Hamano c829774c30 Fix reflog parsing for a malformed branch switching entry 16 years ago
Johannes Schindelin aa9c55b667 Fix parsing of @{-1}@{1} 16 years ago
Junio C Hamano c2883e62f5 interpret_nth_last_branch(): avoid traversing the reflog twice 16 years ago
Thomas Rast d18ba22154 sha1_name: support @{-N} syntax in get_sha1() 16 years ago
Thomas Rast a884d0cb71 sha1_name: tweak @{-N} lookup 16 years ago
Junio C Hamano ae5a6c3684 checkout: implement "@{-N}" shortcut name for N-th last branch 16 years ago
Alex Riesen 94cc355287 Fix mkpath abuse in dwim_ref and dwim_log of sha1_name.c 16 years ago
Shawn O. Pearce ea360dd053 Make reflog query '@{1219188291}' act as '@{2008.8.19.16:24:51.-0700}' 17 years ago
Junio C Hamano 0c4cd7f4a7 ignore non-existent refs in dwim_log() 17 years ago
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