summaries in git add --patch
- From
William Pursell <bill.pursell@gmail.com>
- Date
- Nov 27, 2008, 21:10 UTC
- Message-ID
- <492F0CAD.3010101@gmail.com>
I just implemented a command to give a brief summary of the patches in the current file. Please note that I am just rediscovering perl after having abandoned it years ago, so any criticism is appreciated. 5 patches to follow. (From aa14a0c3f)
Here's a screen shot:
Stage this hunk [y,n,a,l,d,k,K,j,J,e,?]? l '*' indicates current hunk. '+' stage, '-' don't stage 0+: @@ -8,9 +8,9 @@ Aani 1 : @@ -48,7 +48,7 @@ abandonable *2 : @@ -88,7 +88,7 @@ abaton 3 : @@ -128,7 +128,7 @@ abdest 4-: @@ -81192,9 +81192,9 @@ gyrous 5 : @@ -234925,7 +234925,7 @@ zymotic
@@ -88,7 +88,7 @@ abaton abator abattoir Abatua -abature +agature abave abaxial abaxile
-- William Pursell