summaryrefslogtreecommitdiff
path: root/t/t4046-diff-unmerged.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-03-11 01:25:43 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-11 03:56:50 -0700
commit4b340cfab9c7a18e39bc531d6a6ffaffdf95f62d (patch)
treee27c18ce9dc5ee6976602eb04702536b6306be4c /t/t4046-diff-unmerged.sh
parentt5704: fix nonportable sed/grep usages (diff)
downloadtgif-4b340cfab9c7a18e39bc531d6a6ffaffdf95f62d.tar.xz
ident.c: add split_ident_line() to parse formatted ident line
The commit formatting logic format_person_part() in pretty.c implements the logic to split an author/committer ident line into its parts, intermixed with logic to compute its output using these piece it computes. Separate the former out to a helper function split_ident_line() so that other codepath can use the same logic, and rewrite the function using the helper function. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4046-diff-unmerged.sh')
0 files changed, 0 insertions, 0 deletions