git-add--interactive: replace hunk recounting with apply --recount
commit8cbd4310821ea2957d32a36c34fa314cf99ca9f3
authorThomas Rast <trast@student.ethz.ch>
Wed, 2 Jul 2008 21:59:16 +0000 (2 23:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jul 2008 22:31:12 +0000 (2 15:31 -0700)
tree6e5446d3b84749269f47103ed1531ec74cca17c4
parent8cb560fc470ee0d94e188d4e9deb14b0c8ac7a91
git-add--interactive: replace hunk recounting with apply --recount

We recounted the postimage offsets to compensate for hunks that were
not selected.  Now apply --recount can do the job for us.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-add--interactive.perl