On Thu, Mar 10, 2016 at 1:54 AM, Duy Nguyen <pclo...@gmail.com> wrote:
> On Thu, Mar 10, 2016 at 6:27 AM, Junio C Hamano <gits...@pobox.com> wrote:
>> Christian Couder <christian.cou...@gmail.com> writes:
>>
>>> Signed-off-by: Christian Couder <chrisc..
On Wed, Mar 9, 2016 at 7:14 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Christian Couder <christian.cou...@gmail.com> writes:
>
>> One point I'd especially welcome feedback about is the fact that there
>> are many boolean options that are using OPT_BO
On Wed, Mar 16, 2016 at 8:44 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Christian Couder <christian.cou...@gmail.com> writes:
>
>> In parse_binary() there is:
>>
>> forward = parse_binary_hunk(, , , );
>> if (!forward && !st
On Thu, Mar 17, 2016 at 10:23 AM, Christian Couder
<christian.cou...@gmail.com> wrote:
> In parse_binary() there is:
...
Of course just after sending this I realized that I should probably
change the title of the patch to something like "builtin/apply: handle
parse_binary(
On Thu, Mar 10, 2016 at 10:26 AM, Duy Nguyen <pclo...@gmail.com> wrote:
> On Thu, Mar 10, 2016 at 12:48 AM, Christian Couder
> <christian.cou...@gmail.com> wrote:
>> This is a patch series about libifying "git apply" functionality, to
>> be able to us
Hi,
A draft of Git Rev News edition 13 is available here:
https://github.com/git/git.github.io/blob/master/rev_news/drafts/edition-13.md
Everyone is welcome to contribute in any section either by editing the
above page on GitHub and sending a pull request, or by commenting on
this GitHub
On Sat, Mar 12, 2016 at 11:46 AM, Paul Tan wrote:
> In an interactive rebase, commands are read and executed from a todo
> list (.git/rebase-merge/git-rebase-todo) to perform the rebase.
>
> In the upcoming re-implementation of git-rebase -i in C, it is useful to
> be able to
On Thu, Apr 7, 2016 at 11:23 AM, Michael S. Tsirkin wrote:
> Pass -t and --trailer flags to git-reinterpret-trailers.
s/git-reinterpret-trailers/git-interpret-trailers/
Thanks,
Christian.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message
On Wed, Apr 6, 2016 at 12:37 PM, Willy Tarreau wrote:
> On Wed, Apr 06, 2016 at 07:57:01AM -0700, Junio C Hamano wrote:
>> This seems to have been lost, perhaps because the top part that was
>> quite long didn't look like a patch submission message or something.
>
> Don't worry, we
On Wed, Apr 6, 2016 at 3:30 PM, Michael S. Tsirkin wrote:
> On Wed, Apr 06, 2016 at 10:42:42AM -0700, Junio C Hamano wrote:
>> "Michael S. Tsirkin" writes:
>>
>> > On Wed, Apr 06, 2016 at 06:58:30PM +0200, Matthieu Moy wrote:
>> >> "Michael S. Tsirkin"
On Sun, Apr 10, 2016 at 3:19 PM, Stephan Beyer wrote:
>
> @@ -123,10 +116,9 @@ static void show_list(const char *debug, int counted,
> int nr,
> const char *subject_start;
> int subject_len;
>
> - fprintf(stderr, "%c%c%c ",
> +
On Sun, Apr 10, 2016 at 3:19 PM, Stephan Beyer wrote:
>
> @@ -321,14 +321,13 @@ static struct commit_list *do_find_bisection(struct
> commit_list *list,
> * add one for p itself if p is to be counted,
> * otherwise inherit it
On Sun, Apr 10, 2016 at 11:32 AM, Michael S. Tsirkin <m...@redhat.com> wrote:
> On Wed, Apr 06, 2016 at 10:28:21PM -0400, Christian Couder wrote:
>> On Wed, Apr 6, 2016 at 3:30 PM, Michael S. Tsirkin <m...@redhat.com> wrote:
>> > On Wed, Apr 06, 2016 at 10:42:42
Hi everyone,
I'm happy announce that the 13th edition of Git Rev News is now published:
http://git.github.io/rev_news/2016/03/16/edition-13/
Thanks a lot to all the contributors and helpers, especially Lars
Schneider and Sebastian Schuberth!
Enjoy,
Christian, Thomas and Nicola.
--
To
When parse_chunk() fails it can return -1, for example
when find_header() doesn't find a patch header.
In this case it's better in apply_patch() to free the
"struct patch" that we just allocated instead of
leaking it.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
Hi,
On Sat, Mar 19, 2016 at 1:48 PM, Matthieu Moy
wrote:
>> Subject: Re: GSoC Project | Improvise git bisect
>
>
> "Improve" I guess.
>
> Pranit Bauva writes:
>
>> Hey everyone!
>
> Hi,
>
>> What I
rts to make it just return -1.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
Only the title of the patch changed in this version compared to v2.
builtin/apply.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/builtin/apply.c b/builtin/apply.c
index 42c610e..c399c9
On Mon, Mar 21, 2016 at 5:35 AM, Eric Sunshine wrote:
>
> diff --git a/git-compat-util.h b/git-compat-util.h
> index c07e0c1..4743954 100644
> --- a/git-compat-util.h
> +++ b/git-compat-util.h
> @@ -715,8 +715,8 @@ static inline size_t st_add(size_t a, size_t b)
>
On Sun, Mar 20, 2016 at 12:35 PM, Pranit Bauva wrote:
> The project Idea: Incremental Rewrite from shell to C of git-bisect.sh
>
> The plan:
>
> - Place bisect.c in builtin/
> - Implement a skeletal cmd_bisect() which will redirect to
> git-bisect.sh (1e1ea69f)
> -
On Mon, Mar 21, 2016 at 11:22 PM, Stephan Beyer wrote:
>
> Also sorry, I am not following the list so I didn't know there was a
> GSoC project for bisect.
>
>> If it is okay with you then can I work more upon these
>> patches in my GSoC project.
>
> I'm totally fine with that, of
On Tue, Mar 22, 2016 at 1:28 AM, Stefan Beller wrote:
> On Mon, Mar 21, 2016 at 12:00 PM, Pranit Bauva wrote:
>> Convert the code literally without changing its design even though it
>> seems that its obscure as to the use of comparing revision to
While working on libifying "git apply" it appeared that some gitdiff_*
functions are unnecessarily complex.
Christian Couder (3):
builtin/apply: get rid of useless 'name' variable
builtin/apply: make gitdiff_verify_name() return void
builtin/apply: simplify gitdiff_{old,new}name()
After the previous simplifications, it is easy to see that
there is no need to free the original string passed to
gitdiff_verify_name(), because this string can be changed
only when it is NULL.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 6 --
While at it put an 'else' on the same line as the previous '}'.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 42c610e..465f954
As the value returned by gitdiff_verify_name() is put into the
same variable that is passed as a parameter to this function,
it is simpler to pass the address of the variable and have
gitdiff_verify_name() change the variable itself.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.
On Tue, Mar 22, 2016 at 10:25 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Christian Couder <christian.cou...@gmail.com> writes:
>
>> As the value returned by gitdiff_verify_name() is put into the
>> same variable that is passed as a parameter to this func
mmits.
>
> Step 2: Starting from the good ends (or end), associate some kind of
> “weight” which depends on its distance from the good commit also
> considering some other factors.
>
> Step 3: Find the midpoint of the max weight which will be the bisection
> commit.
>
>
On Thu, Mar 24, 2016 at 10:09 PM, XZS wrote:
>
> diff --git a/t/t3701-add-interactive.sh b/t/t3701-add-interactive.sh
> index deae948..25e4b2e 100755
> --- a/t/t3701-add-interactive.sh
> +++ b/t/t3701-add-interactive.sh
> @@ -380,4 +380,13 @@ test_expect_success 'patch mode
On Fri, Mar 25, 2016 at 11:15 AM, Pranit Bauva wrote:
>> - you will add an option to "git bisect--helper" to perform what the
>> git-bisect.sh function did, and
>> - you will create a test script for "git bisect--helper" in which you
>> will test each option?
>
> I had
Hi Pranit,
On Mon, Mar 21, 2016 at 8:29 AM, Pranit Bauva wrote:
> On Mon, Mar 21, 2016 at 12:48 PM, Johannes Schindelin
> wrote:
>> Hi Pranit,
>>
>> On Sun, 20 Mar 2016, Pranit Bauva wrote:
>>
>>> I could first move individual functions to
rts to make it just return -1.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/builtin/apply.c b/builtin/apply.c
index 42c610e..c399c97 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@
return -1, because that's what error() returns.
Also parse_binary_hunk() sets "status" to -1 in case of error and
parse_binary() does "if (status) return status;".
In this case parse_chunk() should just exit, rather than add -1 to the
patchsize it computes.
Signed-off-by: Chr
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
Documentation/technical/api-trace.txt | 44 +++
1 file changed, 44 insertions(+)
diff --git a/Documentation/technical/api-trace.txt
b/Documentation/technical/api-trace.txt
index 097a651..0e1af02
Hi,
It looks like t9700-perl-git.sh is broken on one machine I use but not
on my laptop since commit d53c2c67380f769f91fd45cc8c63a5883245ccca
(mingw: fix t9700's assumption about directory separators, Jan 27
17:19:56 2016).
I get:
Initialized empty Git repository in
On Fri, Mar 4, 2016 at 9:56 AM, Jeff King <p...@peff.net> wrote:
> On Fri, Mar 04, 2016 at 09:13:51AM +0100, Christian Couder wrote:
>
>> Indeed on the command line I get:
>>
>>
>> $ t/t9700/test.pl
>> ok 2 - use Git;
>> B
On Fri, Mar 4, 2016 at 1:21 PM, Dennis Kaarsemaker
wrote:
> On vr, 2016-03-04 at 06:43 -0500, Jeff King wrote:
>> On Fri, Mar 04, 2016 at 11:58:24AM +0100, Dennis Kaarsemaker wrote:
>>
>> > On vr, 2016-03-04 at 03:56 -0500, Jeff King wrote:
>> > > ? Those are just guesses,
Hi,
It looks like commit 57ea7123c86771f47f34e7d92d1822d8b429897a (git.c:
make sure we do not leak GIT_* to alias scripts, Dec 20 14:50:19 2015)
broke "./t0001-init.sh --valgrind".
I get:
expecting success:
(
env | sed -ne "/^GIT_/s/=.*//p" &&
echo
On Mon, Feb 29, 2016 at 10:31 PM, Jeff King <p...@peff.net> wrote:
> On Mon, Feb 29, 2016 at 03:21:20PM +0100, Christian Couder wrote:
>
>> Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
>> ---
>> Documentation/technical/api-trace.txt | 43
>>
On Thu, Feb 25, 2016 at 5:31 PM, Ævar Arnfjörð Bjarmason
<ava...@gmail.com> wrote:
> On Wed, Feb 24, 2016 at 11:09 PM, Christian Couder
> <christian.cou...@gmail.com> wrote:
>
> [Resent because I was accidentally in GMail's HTML mode and the ML rejected
> it]
>
&
On Fri, Apr 1, 2016 at 1:16 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Christian Couder <christian.cou...@gmail.com> writes:
>>
>> It looks like this patch is not in pu. Maybe it has fallen through the
>> cracks?
>
> Yup, it indeed was ignored (givin
On Fri, Mar 18, 2016 at 1:30 PM, Christian Couder
<christian.cou...@gmail.com> wrote:
> In parse_binary() there is:
>
> forward = parse_binary_hunk(, , , );
> if (!forward && !status)
> /* there has to be one hunk (forward hunk) */
&
On Wed, Mar 16, 2016 at 3:35 PM, Christian Couder
<christian.cou...@gmail.com> wrote:
> When parse_chunk() fails it can return -1, for example
> when find_header() doesn't find a patch header.
>
> In this case it's better in apply_patch() to free the
> "struct patch"
On Thu, Mar 31, 2016 at 4:57 PM, Sidhant Sharma wrote:
> Hi,
>
> On Thursday 31 March 2016 08:05 PM, Miklos Vajna wrote:
>> Hi,
>>
>> On Thu, Mar 31, 2016 at 07:54:47PM +0530, Pranit Bauva
>> wrote:
>>> Are you suggesting to use a different email
On Thu, Mar 31, 2016 at 4:32 PM, Jeff King wrote:
> On Thu, Mar 31, 2016 at 02:35:07PM +0200, Miklos Vajna wrote:
>
>> Hi,
>>
>> Some projects like LibreOffice don't use Signed-off-by, instead usually
>> use Gerrit for code review, and reviewers add a Reviewed-by line when
>> they
On Fri, Apr 1, 2016 at 12:56 AM, Junio C Hamano <gits...@pobox.com> wrote:
> Christian Couder <christian.cou...@gmail.com> writes:
>
>> On Wed, Mar 16, 2016 at 3:35 PM, Christian Couder
>> <christian.cou...@gmail.com> wrote:
>>> When parse_chunk()
On Fri, Apr 1, 2016 at 2:54 AM, Matthew Persico
wrote:
> Greetings.
>
> Given the GIT_CONFIG environment variable can change 'git config'
> behaves, it stands to reason that if GIT_CONFIG is defined, then ALL
> git commands obey the value of GIT_CONFIG and use that file
On Fri, Apr 1, 2016 at 1:23 PM, Christian Couder
<christian.cou...@gmail.com> wrote:
> Hi!
>
> On Fri, Apr 1, 2016 at 7:35 AM, Ron Isaacson <isaacson.lj...@gmail.com> wrote:
>> Hi everyone,
>>
>> I've noticed that "make rpm" is failing for 2.
Hi!
On Fri, Apr 1, 2016 at 7:35 AM, Ron Isaacson wrote:
> Hi everyone,
>
> I've noticed that "make rpm" is failing for 2.8.0 because README was
> replaced with README.md. This line in git.spec is the culprit:
>
> %doc README COPYING Documentation/*.txt
>
> Would it be
On Wed, Mar 30, 2016 at 6:13 AM, shawn wilson wrote:
> I've also tried to make this a plain bash script (w/o the function or
> if statements and am failing at the same place). The issue seems to be
> with the quoting in the filter-branch | ls-files bit. Also, the end
> goal
On Sun, Apr 10, 2016 at 3:19 PM, Stephan Beyer wrote:
> The total number of commits in a bisect process is a property of
> the bisect process. Making this property global helps to make the code
> clearer.
>
> Signed-off-by: Stephan Beyer
> ---
> bisect.c | 74
On Sun, Apr 10, 2016 at 3:19 PM, Stephan Beyer wrote:
> The idea is to reverse the DAG and perform a traversal
> starting on all sources of the reversed DAG.
>
> We walk from the bottom commits, incrementing the weight while
> walking on a part of the graph that is single strand
On Sun, Apr 10, 2016 at 3:19 PM, Stephan Beyer wrote:
>
> @@ -70,7 +70,7 @@ static inline int distance_direction(struct commit *commit)
> return 0;
> }
>
> -static int count_distance(struct commit *elem)
> +static int compute_weight(struct commit *elem)
> {
>
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
cache.h | 1 +
environment.c | 5 +
2 files changed, 6 insertions(+)
diff --git a/cache.h b/cache.h
index 2711048..7f36aa3 100644
--- a/cache.h
+++ b/cache.h
@@ -461,6 +461,7 @@ extern int is_inside_work_tree(void);
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
run-command.c | 2 +-
run-command.h | 6 ++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/run-command.c b/run-command.c
index 8c7115a..29d2bda 100644
--- a/run-command.c
+++ b/run-command.c
@@ -85,7 +85,7 @@
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 31 +--
1 file changed, 17 insertions(+), 14 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index b6d2343..699cabf 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index b57be2c..a5dff99 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -25,6 +25,7 @@
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index d90948a..16d78f9 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -36,6 +36,9 @@
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 51 ---
1 file changed, 32 insertions(+), 19 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 3f8671c..755e0e3 100644
--- a/builtin/apply.c
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 37 +
1 file changed, 21 insertions(+), 16 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index a5dff99..ba828df 100644
--- a/builtin/apply.c
+++ b/builtin/a
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 7115dc2..78849e4 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -2194,17 +2
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 46 +++---
1 file changed, 27 insertions(+), 19 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 154679e..b57be2c 100644
--- a/builtin/apply.c
+++ b/b
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
apply.c | 6 +++---
apply.h | 5 -
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/apply.c b/apply.c
index 99b7a2d..86e0d20 100644
--- a/apply.c
+++ b/apply.c
@@ -27,7 +27,7 @@ static void git_apply_confi
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
apply.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/apply.c b/apply.c
index 86e0d20..7cee834 100644
--- a/apply.c
+++ b/apply.c
@@ -4718,8 +4718,11 @@ int apply_all_patches(
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index c8b9bf0..0717cd2 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -70,6 +70,7 @@ struct apply
d the call chain.
To start let's move the "prefix" and "prefix_length" global variables into
"struct apply_state".
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 94 ++---
1 file chan
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 506357c..c45e481 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -57,6 +57,8 @@
-index --split-index`
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/am.c | 103 ---
1 file changed, 85 insertions(+), 18 deletions(-)
diff --git a/builtin/am.c b/builtin/am.c
index d003939..85a77d7 100644
--- a/b
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index e488879..33a1f8f 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -41,6 +41,8 @@
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index ad81210..6c628f6 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -25,12 +25,15 @@
The match_fragment() function is very big and contains a big special case
algorithm that does line by line fuzzy matching. So let's extract this
algorithm in a separate line_by_line_fuzzy_match() function.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
Makefile| 1 +
apply.c | 80 +
apply.h | 8 ++
builtin/apply.c | 75 -
4 files chang
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
apply.h | 3 +++
builtin/apply.c | 11 ---
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/apply.h b/apply.h
index 35d4d15..3df0128 100644
--- a/apply.h
+++ b/apply.h
@@ -129,4 +129,7 @@ exte
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 28
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 8b7a8e0..69bb94c 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
apply.c | 7 ---
apply.h | 2 +-
builtin/apply.c | 3 ++-
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/apply.c b/apply.c
index 9c5f258..11bec48 100644
--- a/apply.c
+++ b/apply.c
@@ -56,7
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
apply.c | 29 +
apply.h | 2 +-
builtin/apply.c | 29 -
3 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/apply.c b/apply.c
index 11bec48..b
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 128 ++--
1 file changed, 69 insertions(+), 59 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 94bf120..787426f 100644
--- a/builtin/apply.c
We cannot have a 'struct lock_file' allocated on the stack, as lockfile.c
keeps a linked list of all created lock_file structures.
So let's make the 'lock_file' variable a pointer to a 'struct lock_file'
and let's alloc the struct when needed.
Signed-off-by: Christian Couder <chr
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 38 --
1 file changed, 16 insertions(+), 22 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index ebac9ee..dae89e2 100644
--- a/builtin/apply.c
+++ b/builtin/a
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index bc209f5..c0bb24c 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -454,10 +454,10 @@ stati
The 'newfd' global is useless now as we can just test
for "lock_file == NULL" instead of "newfd < 0".
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/builtin/ap
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 48 +++-
1 file changed, 31 insertions(+), 17 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 5a5be49..e021fad 100644
--- a/builtin/apply.c
+++ b/b
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index e3ee199..7576ec5 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -4534,17 +4
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 73247c7..6b8ba2a 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -755,10 +
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 69bb94c..89118c1 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -4071,17 +4
To be compatible with the rest of the error handling in builtin/apply.c,
find_header() should return -1 instead of calling die().
Unfortunately find_header() already returns -1 when no header is found,
so let's make it return -2 instead in this case.
Signed-off-by: Christian Couder <chr
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 89118c1..5a5be49 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -4210,7 +
.
In a later patch, apply_all_patches() will return -1 too instead of
exiting.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 39 ---
1 file changed, 28 insertions(+), 11 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
As these functions are going to be part of the libified
apply api, let's give them a name that is more specific
to the apply api.
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 40
1 file changed, 20 insertions(
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 8d96f70..2f89922 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -57,20 +57,20 @@
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index c45e481..228595d 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -59,6 +59,8 @@
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 52 +---
1 file changed, 29 insertions(+), 23 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index f2dffa9..94bf120 100644
--- a/builtin/apply.c
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c| 17 +
t/t4012-diff-binary.sh | 4 ++--
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index e1d6c8b..de5c745 100644
--- a/builtin/a
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 268356b..8b7a8e0 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -3699,7 +3699,7 @@
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 209a1b4..9c4f67f 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 49 +
1 file changed, 25 insertions(+), 24 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index fa07b33..bb58174 100644
--- a/builtin/apply.c
+++ b/b
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 151 +---
1 file changed, 99 insertions(+), 52 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 0717cd2..979849c 100644
--- a/builtin/apply.c
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index dae89e2..49ef4c9 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -4367,6 +4
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 1c1ac7d..8d96f70 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -27,34
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 25 +
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index e021fad..ebac9ee 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -
Signed-off-by: Christian Couder <chrisc...@tuxfamily.org>
---
builtin/apply.c | 52 ++--
1 file changed, 30 insertions(+), 22 deletions(-)
diff --git a/builtin/apply.c b/builtin/apply.c
index 6b8ba2a..268356b 100644
--- a/builtin/apply.c
1201 - 1300 of 2901 matches
Mail list logo