Re: [PATCH v2 00/94] libify apply and use lib in am

2016-06-11 Thread Johannes Schindelin
Hi Hannes, On Fri, 10 Jun 2016, Johannes Sixt wrote: > Am 10.06.2016 um 13:11 schrieb Johannes Schindelin: > > On Fri, 10 Jun 2016, Christian Couder wrote: > > > > > I fixed this by moving the "close(fd)" call just after the > > > "apply_patch()" call. > > This bug in v1 was discovered by the

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-06-10 Thread Christian Couder
On Fri, Jun 10, 2016 at 7:04 PM, Johannes Sixt wrote: > Am 10.06.2016 um 13:11 schrieb Johannes Schindelin: >> >> Not really. The reply (which I had not quite connected with my mail >> because they were over a week apart) says this: >> >>> I fixed this by moving the "close(fd)"

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-06-10 Thread Johannes Sixt
Am 10.06.2016 um 13:11 schrieb Johannes Schindelin: On Fri, 10 Jun 2016, Christian Couder wrote: On Fri, Jun 10, 2016 at 9:01 AM, Johannes Schindelin wrote: I lost track in the meantime: were those issues with unclosed file handles and unreleased memory in the

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-06-10 Thread Johannes Schindelin
Hi Christian, On Fri, 10 Jun 2016, Christian Couder wrote: > On Fri, Jun 10, 2016 at 9:01 AM, Johannes Schindelin > wrote: > > > > On Thu, 9 Jun 2016, Johannes Sixt wrote: > > > >> Meanwhile, I have retrained my muscle memory to stop before typing "-i" > >> after >

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-06-10 Thread Christian Couder
Hi Dscho, On Fri, Jun 10, 2016 at 9:01 AM, Johannes Schindelin wrote: > Hi Hannes, > > On Thu, 9 Jun 2016, Johannes Sixt wrote: > >> Meanwhile, I have retrained my muscle memory to stop before typing "-i" after >> "rebase" for an opportunity to consider whether bare

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-06-10 Thread Johannes Schindelin
Hi Hannes, On Thu, 9 Jun 2016, Johannes Sixt wrote: > Meanwhile, I have retrained my muscle memory to stop before typing "-i" after > "rebase" for an opportunity to consider whether bare rebase can be used. > > What should I say? I am impressed. It's like 100 times faster than rebase -i > (on

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-06-10 Thread Christian Couder
On Thu, Jun 9, 2016 at 11:10 PM, Johannes Sixt wrote: > Am 12.05.2016 um 20:02 schrieb Christian Couder: >> >>> I'll also use it in production for a while, although I am not a git-am >>> consumer nor do I use git-rebase without -i, hence, my tests will >>> probably >>> only show

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-06-09 Thread Johannes Sixt
Am 12.05.2016 um 20:02 schrieb Christian Couder: On Thu, May 12, 2016 at 7:06 PM, Johannes Sixt wrote: Am 11.05.2016 um 15:16 schrieb Christian Couder: This is a patch series about libifying `git apply` functionality, and using this libified functionality in `git am`, so that

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-15 Thread Junio C Hamano
Christian Couder writes: > On Sat, May 14, 2016 at 8:31 PM, Junio C Hamano wrote: >> >> I however do not see a reason why you need to expose that feature to >> the users of "git apply". So I am not sure if any of us care deeply >> the choice among

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-14 Thread Christian Couder
On Sat, May 14, 2016 at 8:31 PM, Junio C Hamano wrote: > > I however do not see a reason why you need to expose that feature to > the users of "git apply". So I am not sure if any of us care deeply > the choice among --silent, --quiet and -q -q. About that I wrote in initial

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-14 Thread Junio C Hamano
Christian Couder writes: >>> So it looks to me that --quiet means something like "don't tell the >>> story of your life, but in case of problem you are allowed to >>> complain". In other word --quiet generally doesn't suppress error >>> messages from error() or die().

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-14 Thread Christian Couder
On Sat, May 14, 2016 at 8:26 AM, Johannes Schindelin wrote: [...] >> >> By the way there are no tests yet for this new feature, and I am not >> >> sure at all that "--silent" and "be_silent" are good names. >> > >> > If you want to follow existing code's example, we

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-14 Thread Johannes Schindelin
Hi Chris, On Fri, 13 May 2016, Christian Couder wrote: > On Fri, May 13, 2016 at 8:32 AM, Johannes Schindelin > wrote: > > > > On Wed, 11 May 2016, Christian Couder wrote: > > > >> I consider that the apply functionality is properly libified before > >> these

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-13 Thread Christian Couder
Hi Dscho, On Fri, May 13, 2016 at 8:32 AM, Johannes Schindelin wrote: > Hi Chris, > > On Wed, 11 May 2016, Christian Couder wrote: > >> I consider that the apply functionality is properly libified before >> these patches, and that they should be in a separate series,

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-13 Thread Johannes Schindelin
Hi Chris, On Wed, 11 May 2016, Christian Couder wrote: > I consider that the apply functionality is properly libified before > these patches, and that they should be in a separate series, but > unfortunately using the libified apply in "git am" unmasks the fact that > "git am", since it was a

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-12 Thread Christian Couder
On Thu, May 12, 2016 at 9:04 PM, Junio C Hamano wrote: > > As Christian said in 00/94, this probably needs to go in steps, as I > do not think anybody wants to review fouteen rounds of 90+ patch > series. I thought the early 40+ patches in the series were at least > cursory

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-12 Thread Junio C Hamano
Johannes Sixt writes: > I'll also use it in production for a while, although I am not a git-am > consumer nor do I use git-rebase without -i, hence, my tests will > probably only show that there is no bad fall-out. It will probably only show that you do not use the part that was

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-12 Thread Christian Couder
On Thu, May 12, 2016 at 7:06 PM, Johannes Sixt wrote: > Am 11.05.2016 um 15:16 schrieb Christian Couder: >> >> This is a patch series about libifying `git apply` functionality, and >> using this libified functionality in `git am`, so that no 'git apply' >> process is spawn anymore.

Re: [PATCH v2 00/94] libify apply and use lib in am

2016-05-12 Thread Johannes Sixt
Am 11.05.2016 um 15:16 schrieb Christian Couder: This is a patch series about libifying `git apply` functionality, and using this libified functionality in `git am`, so that no 'git apply' process is spawn anymore. This makes `git am` significantly faster, so `git rebase`, when it uses the am

[PATCH v2 00/94] libify apply and use lib in am

2016-05-11 Thread Christian Couder
Goal This is a patch series about libifying `git apply` functionality, and using this libified functionality in `git am`, so that no 'git apply' process is spawn anymore. This makes `git am` significantly faster, so `git rebase`, when it uses the am backend, is also significantly faster.