[PATCH] git-am: make a config setting for --keep-non-patch switch

2012-08-01 Thread Paul Gortmaker
In order to make a commit be invariant (excluding ID) over a format-patch and subsequent am cycle, one needs to use the '--keep-non-patch' so that commits like: [PATCH] [i386] fix foo bar arch/x86/mm only lose the [PATCH] and not the [i386] part. Since it is a common desire (e.g. linux

Re: [PATCH] git-am: make a config setting for --keep-non-patch switch

2012-08-01 Thread Junio C Hamano
Paul Gortmaker paul.gortma...@windriver.com writes: In order to make a commit be invariant (excluding ID) over a format-patch and subsequent am cycle, one needs to use the '--keep-non-patch' so that commits like: [PATCH] [i386] fix foo bar arch/x86/mm only lose the [PATCH] and not

Re: [PATCH] git-am: make a config setting for --keep-non-patch switch

2012-08-01 Thread Paul Gortmaker
On 12-08-01 02:48 PM, Junio C Hamano wrote: Paul Gortmaker paul.gortma...@windriver.com writes: In order to make a commit be invariant (excluding ID) over a format-patch and subsequent am cycle, one needs to use the '--keep-non-patch' so that commits like: [PATCH] [i386] fix foo bar