diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-21 00:37:38 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-21 00:42:22 -0800 |
commit | d7c03c1ff98be1d22dd18b70669ffc6fb76b39b3 (patch) | |
tree | de9568c2df11408386aab00058b52fed352725b6 /compat/inet_pton.c | |
parent | Introduce for_each_recent_reflog_ent(). (diff) | |
download | tgif-d7c03c1ff98be1d22dd18b70669ffc6fb76b39b3.tar.xz |
Simplify parsing branch switching events in reflog
We only accept "checkout: moving from A to B" newer style reflog entries,
in order to pick up A. There is no point computing where B begins at
after running strstr to locate " to ", nor adding 4 and then subtracting 4
from the same pointer.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/inet_pton.c')
0 files changed, 0 insertions, 0 deletions