[GSoC][PATCH v7 19/20] rebase -i: remove git-rebase--interactive.sh

2018-08-28 Thread Alban Gruin
This removes git-rebase--interactive.sh, as its functionnality has been replaced by git-rebase--interactive2. git-rebase--interactive2.c is then renamed to git-rebase--interactive.c. Signed-off-by: Alban Gruin --- No changes since v6. .gitignore| 1

[GSoC][PATCH v7 04/20] rebase -i: rewrite the edit-todo functionality in C

2018-08-28 Thread Alban Gruin
favour of a call to the helper. Signed-off-by: Alban Gruin --- No changes since v6. builtin/rebase--helper.c | 13 - git-rebase--interactive.sh | 11 +-- rebase-interactive.c | 27 +++ rebase-interactive.h | 1 + 4 files changed, 37

[GSoC][PATCH v7 20/20] rebase -i: move rebase--helper modes to rebase--interactive

2018-08-28 Thread Alban Gruin
as it is useless now. Signed-off-by: Alban Gruin --- No changes since v6. .gitignore | 1 - Makefile | 1 - builtin.h | 1 - builtin/rebase--helper.c | 226 - builtin/rebase--interactive.c

[GSoC][PATCH v7 15/20] rebase -i: rewrite write_basic_state() in C

2018-08-28 Thread Alban Gruin
stategy options is moved to a new function to allow its use in rebase--helper.c. Finally, the call to write_basic_state() is removed from git-rebase--interactive.sh, replaced by a call to `--init-basic-state`. Signed-off-by: Alban Gruin --- No changes since v6. builtin/rebase--helper.c | 28

[GSoC][PATCH v7 08/20] sequencer: refactor append_todo_help() to write its message to a buffer

2018-08-28 Thread Alban Gruin
function, append_todo_help_to_file(). This function will go away after the rewrite of complete_action(). Signed-off-by: Alban Gruin --- No changes since v6. builtin/rebase--helper.c | 2 +- rebase-interactive.c | 43 rebase-interactive.h | 4

[GSoC][PATCH v7 10/20] t3404: todo list with commented-out commands only aborts

2018-08-28 Thread Alban Gruin
Signed-off-by: Alban Gruin --- No changes since v6. t/t3404-rebase-interactive.sh | 10 ++ 1 file changed, 10 insertions(+) diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh index 01616901bd..496d88d7d6 100755 --- a/t/t3404-rebase-interactive.sh +++ b/t/t3

[GSoC][PATCH v7 03/20] editor: add a function to launch the sequence editor

2018-08-28 Thread Alban Gruin
parameter, in addition to the path, the buffer and the environment variables. launch_sequence_editor() is then added to launch the sequence editor. Signed-off-by: Alban Gruin --- No changes since v6. cache.h | 1 + editor.c | 27 +-- strbuf.h | 2 ++ 3 files changed, 28

Re: [PATCH v2] userdiff: Add a builtin pattern for dts files

2019-08-17 Thread Alban Gruin
Hi Stephen, Le 17/08/2019 à 00:56, Stephen Boyd a écrit : > The Linux kernel receives many patches to the devicetree files each > release. The hunk header for those patches typically show nothing, > making it difficult to figure out what node is being modified without > applying the patch or openi

Re: [RFC PATCH 0/9] rebase -i: extend rebase.missingCommitsCheck to `--edit-todo' and co.

2019-09-24 Thread Alban Gruin
Hi, This has been a long time since I have not given an update on this -- sorry about that. I think it’s time to do it. Le 29/07/2019 à 11:38, Phillip Wood a écrit : > Hi Alban > > -%<- > > That's an interesting point about `--continue`. Perhaps if `--edit-todo` > detects deleted lines in erro

[PATCH v1 4/5] rebase: fill `squash_onto' in get_replay_opts()

2019-09-25 Thread Alban Gruin
Signed-off-by: Alban Gruin --- builtin/rebase.c | 5 + 1 file changed, 5 insertions(+) diff --git a/builtin/rebase.c b/builtin/rebase.c index e8319d5946..2097d41edc 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -117,6 +117,11 @@ static struct replay_opts get_replay_op

[PATCH v1 3/5] sequencer: move the code writing total_nr on the disk to a new function

2019-09-25 Thread Alban Gruin
function so it can be called from complete_action(). Signed-off-by: Alban Gruin --- sequencer.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/sequencer.c b/sequencer.c index 42313f8de6..ec7ea8d9e5 100644 --- a/sequencer.c +++ b/sequencer.c @@ -2342,6 +2342,16

[PATCH v1 2/5] sequencer: update `done_nr' when skipping commands in a todo list

2019-09-25 Thread Alban Gruin
In a todo list, `done_nr' is the amount of commands that were executed or skipped, but skip_unnecessary_picks() did not update it. This variable is mostly used by command prompts (ie. git-prompt.sh and the like). Signed-off-by: Alban Gruin --- sequencer.c | 1 + 1 file changed, 1 inse

[PATCH v1 1/5] sequencer: update `total_nr' when adding an item to a todo list

2019-09-25 Thread Alban Gruin
`total_nr' is the total amount of items, done and toto, that are in a todo list. But unlike `nr', it was not updated when an item was appended to the list. This variable is mostly used by command prompts (ie. git-prompt.sh and the like). Signed-off-by: Alban Gruin --- sequencer.

[PATCH v1 5/5] sequencer: directly call pick_commits() from complete_action()

2019-09-25 Thread Alban Gruin
Currently, complete_action() calls sequencer_continue() to do the rebase. Even though the former already has the todo list, the latter loads it from the disk and parses it. Calling directly pick_commits() from complete_action() avoids this unnecessary round trip. Signed-off-by: Alban Gruin

[PATCH v1 0/5] Use complete_action's todo list to do the rebase

2019-09-25 Thread Alban Gruin
4c86140027, "Third batch"). The tip of this series is tagged as "reduce-todo-list-cont-v1" at https://github.com/agrn/git. [0] http://public-inbox.org/git/20190717143918.7406-1-alban.gr...@gmail.com/ [1] http://public-inbox.org/git/1732521.CJWHkCQAay@andromeda/ Alban

Re: [PATCH v1 1/5] sequencer: update `total_nr' when adding an item to a todo list

2019-10-02 Thread Alban Gruin
Hi Junio and Johannes, Le 02/10/2019 à 10:59, Junio C Hamano a écrit : > Johannes Schindelin writes: > >> Hi Junio, >> >> On Wed, 2 Oct 2019, Junio C Hamano wrote: >> >>> Alban Gruin writes: >>> >>>> `total_nr' is the total a

Re: [PATCH v1 5/5] sequencer: directly call pick_commits() from complete_action()

2019-10-02 Thread Alban Gruin
Hi Johannes, Le 02/10/2019 à 10:20, Johannes Schindelin a écrit : > Hi, > > On Fri, 27 Sep 2019, Phillip Wood wrote: > >> Hi Alban >> >> Thanks for removing some more unnecessary work reloading the the todo list. >> >> On 25/09/2019 21:13, Alban G

Re: [PATCH v1 5/5] sequencer: directly call pick_commits() from complete_action()

2019-10-02 Thread Alban Gruin
Hi Junio, Le 02/10/2019 à 04:38, Junio C Hamano a écrit : > Alban Gruin writes: > >> Currently, complete_action() calls sequencer_continue() to do the >> rebase. Even though the former already has the todo list, the latter >> loads it from the disk and parses it. Calli

[PATCH v2 1/5] sequencer: update `total_nr' when adding an item to a todo list

2019-10-07 Thread Alban Gruin
to matter. Signed-off-by: Alban Gruin --- Reworded commit. sequencer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sequencer.c b/sequencer.c index d648aaf416..575b852a5a 100644 --- a/sequencer.c +++ b/sequencer.c @@ -2070,6 +2070,7 @@ void todo_list_release(struct todo_list *todo_list) sta

[PATCH v2 2/5] sequencer: update `done_nr' when skipping commands in a todo list

2019-10-07 Thread Alban Gruin
ut it would start to matter at the end of this series the same reason. Signed-off-by: Alban Gruin --- Reworded commit. sequencer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sequencer.c b/sequencer.c index 575b852a5a..42313f8de6 100644 --- a/sequencer.c +++ b/sequencer.c @@ -5054,6 +5

[PATCH v2 3/5] sequencer: move the code writing total_nr on the disk to a new function

2019-10-07 Thread Alban Gruin
function so it can be called from complete_action(). Signed-off-by: Alban Gruin --- sequencer.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/sequencer.c b/sequencer.c index 42313f8de6..ec7ea8d9e5 100644 --- a/sequencer.c +++ b/sequencer.c @@ -2342,6 +2342,16

[PATCH v2 5/5] sequencer: directly call pick_commits() from complete_action()

2019-10-07 Thread Alban Gruin
written() -- this is unnecessary as we're starting a new rebase. This changes complete_action() to directly call pick_commits() to avoid these unnecessary steps. Signed-off-by: Alban Gruin --- Reworded commit. sequencer.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) d

[PATCH v2 0/5] Use complete_action's todo list to do the rebase

2019-10-07 Thread Alban Gruin
1] http://public-inbox.org/git/1732521.CJWHkCQAay@andromeda/ Alban Gruin (5): sequencer: update `total_nr' when adding an item to a todo list sequencer: update `done_nr' when skipping commands in a todo list sequencer: move the code writing total_nr on the disk to a new

[PATCH v2 4/5] rebase: fill `squash_onto' in get_replay_opts()

2019-10-07 Thread Alban Gruin
hange that. Signed-off-by: Alban Gruin --- Reworded commit. builtin/rebase.c | 5 + 1 file changed, 5 insertions(+) diff --git a/builtin/rebase.c b/builtin/rebase.c index e8319d5946..2097d41edc 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -117,6 +117,11 @@ static struct replay_opts get_r

Re: GitGUIGadget, was Re: [PATCH] Feature: custom guitool commands can now have custom keyboard shortcuts

2019-10-07 Thread Alban Gruin
Hi Birger, Le 07/10/2019 à 12:43, Birger Skogeng Pedersen a écrit : > It seems this topic has kindof derailed(?). But I feel like voicing my > opinion nonetheless. > > -%<- > > My biggest gripe with not using Github is how to keep track of replies > (comments) to a topic. I have to navigate thro

Re: [PATCH v3 03/13] winansi: use FLEX_ARRAY to avoid compiler warning

2019-10-07 Thread Alban Gruin
Hi Johannes, Le 04/10/2019 à 17:09, Johannes Schindelin via GitGitGadget a écrit : > From: Johannes Schindelin > > MSVC would complain thusly: > > C4200: nonstandard extension used: zero-sized array in struct/union > > Let's just use the `FLEX_ARRAY` constant that we introduced for exactly

[GSoC] Questions about "convert interactive rebase to C"

2018-03-07 Thread Alban Gruin
Hi, I was reading the email related to the "convert interactive rebase to C" idea[1], and I have a few questions about it: > So the first goal would be to retire git-rebase--interactive.sh. For that > to happen, --root needs to be supported first. Combining rebase -i and --root seems to work fin

Re: [GSoC] Questions about "convert interactive rebase to C"

2018-03-11 Thread Alban Gruin
Le 07/03/2018 à 22:56, Alban Gruin a écrit : > Hi, > > I was reading the email related to the "convert interactive rebase to C" > idea[1], and I have a few questions about it: Hi, I’m writing to you again, in order to have some more information about the "conv

[RFC][GSoC] Project proposal: convert interactive rebase to C

2018-03-17 Thread Alban Gruin
In the second half of July, I would look for bugs in the new code, test it, and improve its coverage. Weeks 12 — July 30, 2018 – August 5, 2018 In the last week, I would polish the code where needed, in order to improve for performance or to make the code more readable. ABOUT ME My name i

Re: [RFC][GSoC] Project proposal: convert interactive rebase to C

2018-03-21 Thread Alban Gruin
Hi Johannes, Le mardi 20 mars 2018 17:29:28 CET, vous avez écrit : > > Weeks 1 & 2 — May 14, 2018 – May 28, 2018 > > First, I would refactor --preserve-merges in its own shell script, as > > described in Dscho’s email. > > Could you go into detail a bit here? Like, describe what parts of the > gi

Re: [RFC][GSoC] Project proposal: convert interactive rebase to C

2018-03-22 Thread Alban Gruin
o fix it. * Add an option to include the patch in the message of commits to be reworded, as proposed by Ævar Arnfjörð Bjarmason[4]. ABOUT ME My name is Alban Gruin. I am an undergraduate at the Paul Sabatier University in Toulouse, France, where I have been studying Computer Sciences for a yea

Re: [RFC v3][GSoC] Project proposal: convert interactive rebase to C

2018-03-24 Thread Alban Gruin
the mailing list. ABOUT ME My name is Alban Gruin. I am an undergraduate at the Paul Sabatier University in Toulouse, France, where I have been studying Computer Sciences for a year and a half. My timezone is UTC+02:00. I have been programming in C for the last 5 years. I learned using

Re: GSoC students and mentors in 2018

2018-04-25 Thread Alban Gruin
o convert git-stash > into a builtin. > > Alban Gruin and Pratik Karki want to convert parts of git-rebase into > a builtin. Both are mentored by Christian and myself. > > The slots were just announced today, please join me in welcoming them > to the Git mailing list! (Althoug

Re: java diffs show no method context

2018-04-25 Thread Alban Gruin
Le 25/04/2018 à 14:53, Ulrich Windl a écrit : > Hi! > > This is for git 2.13.6, and it may be an FAQ or frequent feature request. > Anyway: > I'm new to Java, and writing my first project using Git, I found that "git > diff" only reports the class in the diff context, but not the method (as seen

[GSoC] Yet another blog series about the GSoC

2018-05-05 Thread Alban Gruin
.html Cheers, Alban Gruin

[GSoC] GSoC with git, week 2

2018-05-12 Thread Alban Gruin
Hi, I published a new blog post about this week. You can read it here: https://blog.pa1ch.fr/posts/2018/05/12/en/gsoc2018-week-2.html Please tell me what you think about it :) Cheers, Alban

[GSoC] GSoC with git, week 3

2018-05-20 Thread Alban Gruin
Hi, I published a new post about this week. You can read it here: https://blog.pa1ch.fr/posts/2018/05/20/en/gsoc2018-week-3.html Feel free to give me your feedback! :) Cheers, Alban

[GSoC][PATCH 0/4] rebase: split rebase -p from rebase -i

2018-05-22 Thread Alban Gruin
also removed. This patch series is based of js/sequencer-and-root-commits. Alban Gruin (4): rebase: duplicate git-rebase--interactive.sh to git-rebase--preserve-merges.sh rebase: strip unused code in git-rebase--preserve-merges.sh rebase: use the new git-rebase--preserve-merges.sh

[GSoC][PATCH 2/4] rebase: strip unused code in git-rebase--preserve-merges.sh

2018-05-22 Thread Alban Gruin
This removes the code coming from git-rebase--interactive.sh that is not needed by preserve-merges. Signed-off-by: Alban Gruin --- git-rebase--preserve-merges.sh | 63 +++--- 1 file changed, 4 insertions(+), 59 deletions(-) diff --git a/git-rebase--preserve

[GSoC][PATCH 1/4] rebase: duplicate git-rebase--interactive.sh to git-rebase--preserve-merges.sh

2018-05-22 Thread Alban Gruin
This duplicates git-rebase--interactive.sh to git-rebase--preserve-merges.sh. This is done to split -p from -i. No modifications are made to this file here, but any code that is not used by -p will be stripped in the next commit. Signed-off-by: Alban Gruin --- .gitignore

[GSoC][PATCH 4/4] rebase: remove -p code from git-rebase--interactive.sh

2018-05-22 Thread Alban Gruin
All the code specific to preserve-merges was moved to git-rebase--preserve-merges.sh, and so it’s useless to keep it here. Signed-off-by: Alban Gruin --- git-rebase--interactive.sh | 708 + 1 file changed, 8 insertions(+), 700 deletions(-) diff --git

[GSoC][PATCH 3/4] rebase: use the new git-rebase--preserve-merges.sh

2018-05-22 Thread Alban Gruin
t;/rewritten left by the preserve-merges script when calling rebase --continue, --skip, etc., and, if it exists, sets the rebase mode to preserve-merges. In this case, interactive_rebase is set to "explicit", as "implied" would break some tests. Signed-off-by: Alban Gruin --- gi

Re: [GSoC][PATCH 1/4] rebase: duplicate git-rebase--interactive.sh to git-rebase--preserve-merges.sh

2018-05-22 Thread Alban Gruin
Hi Stefan, Le 22/05/2018 à 20:26, Stefan Beller a écrit : > On Tue, May 22, 2018 at 6:31 AM, Alban Gruin wrote: >> This duplicates git-rebase--interactive.sh to >> git-rebase--preserve-merges.sh. This is done to split -p from -i. No >> modifications are made to this file he

[GSoC][PATCH v2 0/4] rebase: split rebase -p from rebase -i

2018-05-22 Thread Alban Gruin
. Changes since v1: - Duplicating the correct version of git-rebase--interactive.sh (thanks Stefan!) Alban Gruin (4): rebase: duplicate git-rebase--interactive.sh to git-rebase--preserve-merges.sh rebase: strip unused code in git-rebase--preserve-merges.sh rebase: use the new git-rebase

[GSoC][PATCH v2 3/4] rebase: use the new git-rebase--preserve-merges.sh

2018-05-22 Thread Alban Gruin
t;/rewritten left by the preserve-merges script when calling rebase --continue, --skip, etc., and, if it exists, sets the rebase mode to preserve-merges. In this case, interactive_rebase is set to "explicit", as "implied" would break some tests. Signed-off-by: Alban Gruin --- gi

[GSoC][PATCH v2 1/4] rebase: duplicate git-rebase--interactive.sh to git-rebase--preserve-merges.sh

2018-05-22 Thread Alban Gruin
This duplicates git-rebase--interactive.sh to git-rebase--preserve-merges.sh. This is done to split -p from -i. No modifications are made to this file here, but any code that is not used by -p will be stripped in the next commit. Signed-off-by: Alban Gruin --- .gitignore

[GSoC][PATCH v2 2/4] rebase: strip unused code in git-rebase--preserve-merges.sh

2018-05-22 Thread Alban Gruin
This removes the code coming from git-rebase--interactive.sh that is not needed by preserve-merges. Signed-off-by: Alban Gruin --- git-rebase--preserve-merges.sh | 65 +++--- 1 file changed, 4 insertions(+), 61 deletions(-) diff --git a/git-rebase--preserve

[GSoC][PATCH v2 4/4] rebase: remove -p code from git-rebase--interactive.sh

2018-05-22 Thread Alban Gruin
All the code specific to preserve-merges was moved to git-rebase--preserve-merges.sh, and so it’s useless to keep it here. Signed-off-by: Alban Gruin --- git-rebase--interactive.sh | 708 + 1 file changed, 8 insertions(+), 700 deletions(-) diff --git

[GSoC][PATCH v3 3/4] rebase: use the new git-rebase--preserve-merges.sh

2018-05-24 Thread Alban Gruin
t;/rewritten left by the preserve-merges script when calling rebase --continue, --skip, etc., and, if it exists, sets the rebase mode to preserve-merges. In this case, interactive_rebase is set to "explicit", as "implied" would break some tests. Signed-off-by: Alban Gruin --- gi

[GSoC][PATCH v3 2/4] rebase: strip unused code in git-rebase--preserve-merges.sh

2018-05-24 Thread Alban Gruin
This removes the code coming from git-rebase--interactive.sh that is not needed by preserve-merges. Signed-off-by: Alban Gruin --- git-rebase--preserve-merges.sh | 65 +++--- 1 file changed, 4 insertions(+), 61 deletions(-) diff --git a/git-rebase--preserve

[GSoC][PATCH v3 0/4] rebase: split rebase -p from rebase -i

2018-05-24 Thread Alban Gruin
. Changes since v2: - Removing ` Alban Gruin (4): rebase: duplicate git-rebase--interactive.sh to git-rebase--preserve-merges.sh rebase: strip unused code in git-rebase--preserve-merges.sh rebase: use the new git-rebase--preserve-merges.sh rebase: remove -p code from git-rebase

[GSoC][PATCH v3 4/4] rebase: remove -p code from git-rebase--interactive.sh

2018-05-24 Thread Alban Gruin
All the code specific to preserve-merges was moved to git-rebase--preserve-merges.sh, and so it’s useless to keep it here. Signed-off-by: Alban Gruin --- git-rebase--interactive.sh | 802 + 1 file changed, 8 insertions(+), 794 deletions(-) diff --git

[GSoC][PATCH v3 1/4] rebase: duplicate git-rebase--interactive.sh to git-rebase--preserve-merges.sh

2018-05-24 Thread Alban Gruin
This duplicates git-rebase--interactive.sh to git-rebase--preserve-merges.sh. This is done to split -p from -i. No modifications are made to this file here, but any code that is not used by -p will be stripped in the next commit. Signed-off-by: Alban Gruin --- .gitignore

Re: [GSoC][PATCH v3 0/4] rebase: split rebase -p from rebase -i

2018-05-24 Thread Alban Gruin
Hi, Le 24/05/2018 à 13:49, Alban Gruin a écrit : > Changes since v2: - Removing `mark_action_done()` from git-rebase--interactive.sh - Removing unused variables from git-rebase--interactive.sh Cheers, Alban

[GSoC] GSoC with git, week 4

2018-05-26 Thread Alban Gruin
Hi, I published my blog post about this week. You can read it here: https://blog.pa1ch.fr/posts/2018/05/26/en/gsoc2018-week-4.html All comments are welcome! Cheers, Alban

[GSoC][PATCH v4 0/4] rebase: split rebase -p from rebase -i

2018-05-28 Thread Alban Gruin
. Changes since v3: - Rewording the commits to be more descriptive, and to respect the 72 characters limit. Alban Gruin (4): rebase: introduce a dedicated backend for --preserve-merges rebase: strip unused code in git-rebase--preserve-merges.sh rebase: use the new git-rebase--preserve

[GSoC][PATCH v4 4/4] rebase: remove -p code from git-rebase--interactive.sh

2018-05-28 Thread Alban Gruin
All the code specific to preserve-merges was moved to git-rebase--preserve-merges.sh, and so it’s useless to keep it here. The intent of this commit is to clean this script as much as possible to prepare a peaceful conversion as a builtin written in C. Signed-off-by: Alban Gruin --- git-rebase

[GSoC][PATCH v4 3/4] rebase: use the new git-rebase--preserve-merges.sh

2018-05-28 Thread Alban Gruin
t;/rewritten left by the preserve-merges script when calling rebase --continue, --skip, etc., and, if it exists, sets the rebase mode to preserve-merges. In this case, interactive_rebase is set to "explicit", as "implied" would break some tests. Signed-off-by: Alban Gruin --- gi

[GSoC][PATCH v4 2/4] rebase: strip unused code in git-rebase--preserve-merges.sh

2018-05-28 Thread Alban Gruin
be the only script to be converted. This also seems to fix a bug where a failure in `pick_one_preserving_merges()` would fallback to the non-preserve-merges `pick_one()`. Signed-off-by: Alban Gruin --- git-rebase--preserve-merges.sh | 65 +++--- 1 file

[GSoC][PATCH v4 1/4] rebase: introduce a dedicated backend for --preserve-merges

2018-05-28 Thread Alban Gruin
This duplicates git-rebase--interactive.sh to git-rebase--preserve-merges.sh. This is done to split -p from -i. No modifications are made to this file here, but any code that is not used by -p will be stripped in the next commit. Signed-off-by: Alban Gruin --- .gitignore

[GSoC][PATCH 2/2] sequencer: remove newlines from append_todo_help() messages

2018-05-31 Thread Alban Gruin
`strbuf_add_commented_lines()` automatically inserts a newline at the end of the input, and ignore the last from the input. Signed-off-by: Alban Gruin --- sequencer.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/sequencer.c b/sequencer.c index

[GSoC][PATCH 1/2] rebase--interactive: rewrite append_todo_help() in C

2018-05-31 Thread Alban Gruin
append_todo_help() to write the help text suited for the edit-todo mode (`--edit-todo`). Finally, append_todo_help() is removed from git-rebase--interactive.sh to use `rebase--helper --append-todo-help` instead. Signed-off-by: Alban Gruin --- builtin/rebase--helper.c | 10 ++-- git-rebase

[GSoC][PATCH 0/2] rebase -i: rewrite append_todo_help() in C

2018-05-31 Thread Alban Gruin
strips newlines from append_todo_help() messages, which require to update the translations. This change was advised to me by Stefan Beller, but Johannes Schindelin voiced concerns. I don’t really have a strong opinion about it, so feel free to give yours. Alban Gruin (2): rebase--interactive: rewrite

Re: [GSoC][PATCH 0/2] rebase -i: rewrite append_todo_help() in C

2018-05-31 Thread Alban Gruin
Hi Phillip, Le 31/05/2018 à 19:48, Phillip Wood a écrit : > Hi Alban, it's great to see you working on this > > On 31/05/18 12:01, Alban Gruin wrote: >> This series rewrites append_todo_help() from shell to C. This is part >> of the effort to rewrite interactive re

Re: [GSoC][PATCH 0/2] rebase -i: rewrite append_todo_help() in C

2018-05-31 Thread Alban Gruin
Hi Stefan, Le 31/05/2018 à 20:44, Stefan Beller a écrit : > On Thu, May 31, 2018 at 10:48 AM, Phillip Wood > wrote: >> Hi Alban, it's great to see you working on this >> >> On 31/05/18 12:01, Alban Gruin wrote: >>> This series rewrites append_todo_help() fr

[GSoC][PATCH] userdiff: add built-in pattern for golang

2018-02-28 Thread Alban Gruin
, floats, complex numbers and operators, according to the go specification. Signed-off-by: Alban Gruin --- Documentation/gitattributes.txt | 2 ++ t/t4018-diff-funcname.sh| 1 + t/t4018/golang-complex-function | 8 t/t4018/golang-func | 4 t/t4018/golang-interface

Re: [GSoC][PATCH] userdiff: add built-in pattern for golang

2018-02-28 Thread Alban Gruin
>> diff --git a/userdiff.c b/userdiff.c >> @@ -38,6 +38,15 @@ IPATTERN("fortran", >> +PATTERNS("golang", >> +/* Functions */ >> +"^[ \t]*(func[ \t]*.*(\\{[ \t]*)?)\n" > > Why is the brace (and possible following whitespace) optional? > Considering that the language demands that the

Re: [GSoC][PATCH] userdiff: add built-in pattern for golang

2018-02-28 Thread Alban Gruin
Le 28/02/2018 à 23:00, Eric Sunshine a écrit : > On Wed, Feb 28, 2018 at 4:31 PM, Alban Gruin wrote: >>>> diff --git a/userdiff.c b/userdiff.c >>>> @@ -38,6 +38,15 @@ IPATTERN("fortran", >>>> +PATTERNS("golang", >>>> +

Re: [GSoC][PATCH] userdiff: add built-in pattern for golang

2018-02-28 Thread Alban Gruin
Le 28/02/2018 à 23:32, Junio C Hamano a écrit : > Eric Sunshine writes: > >> On Wed, Feb 28, 2018 at 5:17 PM, Alban Gruin wrote: >>> Yes, but I can split the line like that: >>> >>> % cat >baz.go<<\EOF >>> packag

[GSoC][PATCH v2] userdiff: add built-in pattern for golang

2018-03-01 Thread Alban Gruin
and operators, according to the go specification. Signed-off-by: Alban Gruin --- Documentation/gitattributes.txt | 2 ++ t/t4018-diff-funcname.sh| 1 + t/t4018/golang-complex-function | 8 t/t4018/golang-func | 4 t/t4018/golang-interface| 4 t/t4018

Re: [PATCH v2 0/5] Use complete_action's todo list to do the rebase

2019-10-08 Thread Alban Gruin
Hi Junio, Le 08/10/2019 à 04:45, Junio C Hamano a écrit : > Alban Gruin writes: > >> This can be seen as a continuation of ag/reduce-rewriting-todo. >> >> Currently, complete_action() releases its todo list before calling >> sequencer_continue(), which reloads the

<    1   2   3   4   5