| commit | 40facde06e3f9d5231c257e1a7f5b545b563d45f | [log] [tgz] |
|---|---|---|
| author | Junio C Hamano <junkio@cox.net> | Thu Feb 08 23:24:51 2007 -0800 |
| committer | Junio C Hamano <junkio@cox.net> | Thu Feb 08 23:24:51 2007 -0800 |
| tree | cd72b3530897ca20d96047df6e4501ab8ece1cc9 | |
| parent | eb3a48221fd4a0b38c31976028dbab7df51be6d4 [diff] |
reflog: handle $name => remotes/%s/HEAD mapping consistently for logs
When refs/remotes/gfi/master and refs/remotes/gfi/HEAD exist,
and the latter is a symref that points at the former, dwim_ref()
resolves string "gfi" to "refs/remotes/gfi/master" as expected,
but dwim_log() does not understand "gfi@{1.day}" and needs to be
told "gfi/master@{1.day}". This is confusing.
Signed-off-by: Junio C Hamano <junkio@cox.net>