Re: git format-patch can clobber existing patch

2019-02-23 Thread Σταύρος Ντέντος
Ντέντος Σταύρος On Fri, Feb 22, 2019 at 9:38 PM Junio C Hamano wrote: > > "brian m. carlson" writes: > > > On Thu, Feb 21, 2019 at 03:40:09PM -0800, Junio C Hamano wrote: > >> Σταύρος Ντέντος writes: > >> > Would it make sense / be easy enough to have some clobbering check / > >> > flag? > >>

Re: git format-patch can clobber existing patch

2019-02-22 Thread Junio C Hamano
"brian m. carlson" writes: > On Thu, Feb 21, 2019 at 03:40:09PM -0800, Junio C Hamano wrote: >> Σταύρος Ντέντος writes: >> > Would it make sense / be easy enough to have some clobbering check / flag? >> >> Given that use of '-o' to redirect to a fresh/new directory would >> reduce the risk of

Re: git format-patch can clobber existing patch

2019-02-21 Thread brian m. carlson
On Thu, Feb 21, 2019 at 03:40:09PM -0800, Junio C Hamano wrote: > Σταύρος Ντέντος writes: > > Would it make sense / be easy enough to have some clobbering check / flag? > > Given that use of '-o' to redirect to a fresh/new directory would > reduce the risk of such clobbering, and use of '-v' to

Re: git format-patch can clobber existing patch

2019-02-21 Thread Junio C Hamano
Σταύρος Ντέντος writes: > During my work flow, I tend to use `git format-patch` to move patches > around (nasty, I know, but bear with me) > > It has occured to me that, it is possible that `git format-patch` can > clobber existing files, if they match in the name and in the "patch > order". > H

Re: git format-patch can clobber existing patch

2019-02-21 Thread Σταύρος Ντέντος
Hello there, During my work flow, I tend to use `git format-patch` to move patches around (nasty, I know, but bear with me) It has occured to me that, it is possible that `git format-patch` can clobber existing files, if they match in the name and in the "patch order". However, if the patch is on