add -i: add function to format hunk header
authorPhillip Wood <redacted>
Mon, 19 Feb 2018 11:29:02 +0000 (11:29 +0000)
committerJunio C Hamano <redacted>
Tue, 20 Feb 2018 16:48:04 +0000 (08:48 -0800)
commit492e60c82456b228a24ff0021e6accee946b7a1c
treea06dda1a8fe4d631c5cb665613bcc2c918408cee
parent8279ed033f703d4115bee620dccd32a9ec94d9aa
add -i: add function to format hunk header

This code is duplicated in a couple of places so make it into a
function as we're going to add some more callers shortly.

Signed-off-by: Phillip Wood <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-add--interactive.perl
git clone https://git.99rst.org/PROJECT