From 0fb6878a365fd8d5c99d278028e7397cf869a045 Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Fri, 9 Jan 2009 16:24:51 -0800 Subject: [PATCH] Add git diff so that commit-partial works with git. --- commit-patch | 1 + 1 file changed, 1 insertion(+) diff --git a/commit-patch b/commit-patch index cb17d63..69358ab 100755 --- a/commit-patch +++ b/commit-patch @@ -71,6 +71,7 @@ while (!$vc{name}) { $vc{lsdiffarg} = [qw(--strip 1)]; } elsif (-d "$repo/.git") { $vc{name} = 'git'; + $vc{diff} = 'git diff'; $vc{message} = sub { ('-m', $_[0]) }; $vc{message_file} = sub { ('-F', $_[0]) }; # Git is special cased below. -- 2.51.2