]> git.ipfire.org Git - thirdparty/git.git/commit - git-add--interactive.perl
add -i: add function to format hunk header
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Mon, 19 Feb 2018 11:29:02 +0000 (11:29 +0000)
committerJunio C Hamano <gitster@pobox.com>
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 <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl