diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-03-08 10:36:43 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-08 13:59:57 -0800 |
commit | 9a7a183bd216fc7f824460e1f6d27886938a6152 (patch) | |
tree | effaabf3d4fb459fa0f4ea8884ac96bd57f7eefb /test-date.c | |
parent | 7e2010537e96d0a1144520222f20ba1dc3d61441 (diff) | |
download | git-9a7a183bd216fc7f824460e1f6d27886938a6152.tar.gz git-9a7a183bd216fc7f824460e1f6d27886938a6152.tar.xz |
for_each_reflog_ent(): extract a helper to process a single entry
Split the logic that takes a single line of reflog entry in a
strbuf, parses the message, and calls the callback function out of
the loop into a separate helper function.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-date.c')
0 files changed, 0 insertions, 0 deletions