From 7bb2df7bfbacfc81904b10e4c3d0f8001f88e28b Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Tue, 25 Aug 2009 03:19:00 -0700 Subject: [PATCH] [commit-patch] Document --amend. --- commit-patch | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/commit-patch b/commit-patch index 3f22ca7..96e8e44 100755 --- a/commit-patch +++ b/commit-patch @@ -234,9 +234,9 @@ commit-patch - commit patches to I, I, I, I, or I I] [B<-F> I] [B<-v>] [B<-n>] [I] +commit-patch [B<--amend>] [B<-m> I] [B<-F> I] [B<-v>] [B<-n>] [I] -commit-partial [B<-v>] [B<-n>] [I ...] +commit-partial [B<--amend>] [B<-v>] [B<-n>] [I ...] =head1 DESCRIPTION @@ -260,6 +260,11 @@ B>, B>, B>, B>, and B>. =head1 OPTIONS +B<-a>, B<--amend> - Amend a previous commit. Currently only B> and +B> support this option. When used with B> it will amend the +previous commit. When used with B>, B> will ask you which +patch you want to amend. + B<-m>, B<--message>=I - An optional I to use as the commit text. If the message is multiple lines then I, I, and I will use the first line as the patch name and the rest as commit -- 2.51.2