o the
next mergetag, if any.
In practice, that change should not matter, as it is 1) uncommon to
perform octopus merges using multiple tags as merge heads, and 2) when the
user asks to be shown those tags, they really should be there.
Signed-off-by: Johannes Schindelin <johannes.schi
user know how to proceed, and the callee
simply has no way of knowing what to say.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
builtin/replace.c | 169 ++
1 file changed, 112 insertions(+), 57 deletions(-)
diff --git a/bui
This option is intended to help with the transition away from the
now-deprecated graft file.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/git-replace.txt | 11 ++---
builtin/replace.c | 44 ++-
2 files c
this functionality can be added later, when and if needed.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
argv-array.c | 20
argv-array.h | 2 ++
2 files changed, 22 insertions(+)
diff --git a/argv-array.c b/argv-array.c
index 5d370fa3366..cb5bc
ce --graft
[...]`.
Changes since v5:
- Disentangled the lumped-together conditional blocks in
edit_and_replace() again.
- Moved fixup (a superfluous argv_array_clear()) from the patch that
adds a test for --convert-graft-file back to the patch that actually
introduces that option.
Johannes Schi
The proof, as the saying goes, lies in the pudding. So here is a
regression test that not only demonstrates what the option is supposed to
accomplish, but also demonstrates that it does accomplish it.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
t/t6050-replace.s
We have the BUG() macro for that purpose.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
builtin/replace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/replace.c b/builtin/replace.c
index 245d3f4164e..e345a5a0f1c 100644
--- a/builtin/rep
Hi Phillip,
On Sat, 21 Apr 2018, Phillip Wood wrote:
> On 20/04/18 13:18, Johannes Schindelin wrote:
> >
> > During a series of fixup/squash commands, the interactive rebase builds
> > up a commit message with comments. This will be presented to the user in
> >
Hi Junio,
On Thu, 26 Apr 2018, Junio C Hamano wrote:
> Johannes Schindelin <johannes.schinde...@gmx.de> writes:
>
> > - if (export_object(_oid, type, raw, tmpfile))
> > - return -1;
> > - if (launch_editor(tmpfile, NULL, NULL) < 0)
> > -
ed
version of
# This is a combination of commits
to contain the in ASCII, which breaks under GETTEXT_POISON.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
t/t3418-rebase-continue.sh | 22 ++
1 file changed, 22 insertions(+)
diff --git a/t/t3418-reba
user a chance to clean things
up in the final fixup!
Johannes Schindelin (4):
rebase -i: demonstrate bugs with fixup!/squash! commit messages
rebase -i: Handle "combination of commits" with GETTEXT_POISON
sequencer: always commit without editing when asked for
rebase
-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sequencer.c b/sequencer.c
index d2e6f33023d..56166b0d6c7 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -717,6 +717,8 @@ static int run_git_commit(const char *defmsg,
(it contains a list of "fixup "/"squash
" lines). This is done on purpose, as it will come in handy for
a fix for the bug where `git rebase --skip` on a final fixup/squash will
leave the commit message in limbo.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de
than fixing it all in one go, hence this commit lumps together more than
a single concern.
For the same reason, this commit also adds a bit more to the existing
test case for the regression we just fixed.
The diff is best viewed with --color-moved.
Signed-off-by: Johannes Schindelin <joha
Hi William,
On Thu, 26 Apr 2018, William Chargin wrote:
> Here is a repro script:
>
> #!/bin/sh
> set -eux
> git --version
> tmpdir="$(mktemp -d)"
> cd "${tmpdir}"
> mkdir target repo
> cd repo
> git init
> touch file; git add file
> git commit -m
Hi,
On Thu, 26 Apr 2018, Elijah Newren wrote:
> On Thu, Apr 26, 2018 at 7:23 PM, Junio C Hamano wrote:
> > Ben Peart writes:
> >
> >> Color me puzzled. :) The consensus was that the default value for
> >> merge.renames come from diff.renames.
Hi,
On Thu, 26 Apr 2018, Derrick Stolee wrote:
> On 4/25/2018 1:43 PM, Brandon Williams wrote:
> > On 04/25, Ævar Arnfjörð Bjarmason wrote:
> > > > * bw/protocol-v2 (2018-03-15) 35 commits
> > > > (merged to 'next' on 2018-04-11 at 23ee234a2c)
[... snip ...]
> > > > (this branch is
Hi Phillip,
On Wed, 25 Apr 2018, Phillip Wood wrote:
> On 25/04/18 13:48, Johannes Schindelin wrote:
> >
> > On Mon, 23 Apr 2018, Phillip Wood wrote:
> >
> > > On 23/04/18 19:11, Stefan Beller wrote:
> > > >
> > > >
Hi Abinsium,
On Wed, 25 Apr 2018, Abinsium wrote:
> I installed from `Git-2.16.2-64-bit.exe` from git-scm.com. `iconv` is included
> in this package. I think `iconv` should have the encoding `ISO646-SE2`. Ubuntu
> 16.04 has this encoding. I use it to read old Swedish text files, which there
>
Hi Kuba,
On Wed, 25 Apr 2018, Jakub Narębski wrote:
> On 25 April 2018 at 11:54, Johannes Schindelin
> <johannes.schinde...@gmx.de> wrote:
> > diff --git a/Documentation/technical/shallow.txt
> > b/Documentation/technical/shallow.txt
> > index 5
Hi Phillip,
On Mon, 23 Apr 2018, Phillip Wood wrote:
> On 23/04/18 19:11, Stefan Beller wrote:
> >
> > On Sat, Apr 21, 2018 at 12:34 AM, Johannes Schindelin
> > <johannes.schinde...@gmx.de> wrote:
> > > Eric Sunshine pointed out that I had such a commit messa
Hi Junio,
On Wed, 25 Apr 2018, Junio C Hamano wrote:
> * js/rebase-recreate-merge (2018-04-24) 16 commits
> - rebase -i --rebase-merges: add a section to the man page
> - rebase -i: introduce --rebase-merges=[no-]rebase-cousins
> - pull: accept --rebase=merges to recreate the branch topology
l trickery to create such merges with
Git's commands in the first place, we do not even have to bother to
introduce an option to force `merge` to create such merge commits.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 7 +++
t/t3430-reba
The --rebase-merges mode is probably not half as intuitive to use as
its inventor hopes, so let's document it some.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/git-rebase.txt | 135 +++
1 file changed, 135 insertions(+)
' --
Let's introduce the term "cousins" for such commits ("D" in the
example), and let's not rebase them by default. For hypothetical
use cases where cousins *do* need to be rebased, `git rebase
--rebase=merges=rebase-cousins` needs to be used.
Signed-off-by: Johannes Schindel
-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/config.txt | 8
Documentation/git-pull.txt | 6 +-
builtin/pull.c | 14 ++
builtin/remote.c | 18 ++
c
ost-rewrite hooks do
not need to handle them.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 5 -
t/t3430-rebase-merges.sh | 25 +
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/sequencer.c b/sequence
This allows for rebases to be run in parallel in separate worktrees
(think: interrupted in the middle of one rebase, being asked to perform
a different rebase, adding a separate worktree just for that job).
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
ld-extra/blob/master/shears.sh
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/git-rebase.txt | 21 ++-
contrib/completion/git-completion.bash | 2 +-
git-rebase--interactive.sh | 1 +
git-rebase.sh | 6 +
From: Phillip Wood
If there are empty commits on the left hand side of $upstream...HEAD
then the empty commits on the right hand side that we want to keep are
being pruned.
Signed-off-by: Phillip Wood
---
to refer later on to the revision onto which
everything is rebased, e.g. as starting point for branches other than
the very first one.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
builtin/rebase--helper.c | 4 +-
sequencer.c
t list.
Signed-off-by: Stefan Beller <sbel...@google.com>
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
git-rebase--interactive.sh | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/git-rebase--interactive.sh b/git-rebase--in
Previously, we did that just magically, and potentially left some users
quite puzzled. Let's err on the safe side instead, telling the user what
is happening, and how they are supposed to continue.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.
ntioning the `--ancestry-path` option).
- When run_git_commit() fails after a successful merge, we now take pains
not to reschedule the `merge` command.
- Rebased the patch series on top of current `master`, i.e. both
`pw/rebase-keep-empty-fixes` and `pw/rebase-signoff`, to resolve merge
rges using strategies other than the
recursive merge is left for the future.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
git-rebase--interactive.sh | 4 +
sequencer.c| 200 +
2 files changed, 204 insertions(+)
diff --
few
lines. This will allow us to extend the new code path easily for the
upcoming `merge` command.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
git-rebase--interactive.sh | 2 +
sequencer.c| 213 +++--
2 files changed, 208
-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 33 -
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/sequencer.c b/sequencer.c
index 94f4831a0c3..6722095655d 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -2687,7 +2687,7 @@
the correctness of the code. It is not performance-critical
code anyway.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 60 -
1 file changed, 36 insertions(+), 24 deletions(-)
diff --git a/sequencer.c b/seque
` commands anyway.
However, the upcoming `merge` command *will* want to be handled by that
function, and it *can* handle commits.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sequenc
As pointed out in a review of the `--rebase-merges` patch series,
`rollback_lock_file()` clobbers errno. Therefore, we have to report the
error message that uses errno before calling said function.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 10 ++-
It is tempting to do away with commit_graft altogether (in the long
haul), now that grafts are deprecated.
However, the shallow feature needs a couple of things that the replace
refs cannot fulfill. Let's point that out in the documentation.
Signed-off-by: Johannes Schindelin <johannes.schi
o the
next mergetag, if any.
In practice, that change should not matter, as it is 1) uncommon to
perform octopus merges using multiple tags as merge heads, and 2) when the
user asks to be shown those tags, they really should be there.
Signed-off-by: Johannes Schindelin <johannes.schi
user know how to proceed, and the callee
simply has no way of knowing what to say.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
builtin/replace.c | 164 ++
1 file changed, 107 insertions(+), 57 deletions(-)
diff --git a/bui
This option is intended to help with the transition away from the
now-deprecated graft file.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/git-replace.txt | 11 ++---
builtin/replace.c | 45 ++-
2 files c
.@pobox.com>
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/technical/shallow.txt | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/Documentation/technical/shallow.txt
b/Documentation/technical/shallow.txt
index 518
The functionality is now implemented as `git replace
--convert-graft-file`.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
contrib/convert-grafts-to-replace-refs.sh | 28 ---
1 file changed, 28 deletions(-)
delete mode 100755 contrib/convert-
ire it eventually.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
Reviewed-by: Stefan Beller <sbel...@google.com>
---
advice.c | 2 ++
advice.h | 1 +
commit.c | 10 ++
t/t6001-rev-list-graft.sh | 9 +
4 f
The proof, as the saying goes, lies in the pudding. So here is a
regression test that not only demonstrates what the option is supposed to
accomplish, but also demonstrates that it does accomplish it.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
builtin/replace.c
The graft file is deprecated now, so let's use replace refs in the example
in filter-branch's man page instead.
Suggested-by: Eric Sunshine <sunsh...@sunshineco.com>
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/git-filter-branch.txt | 2 +-
1 fil
this functionality can be added later, when and if needed.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
argv-array.c | 20
argv-array.h | 2 ++
2 files changed, 22 insertions(+)
diff --git a/argv-array.c b/argv-array.c
index 5d370fa3366..cb5bc
/technical/shallow to not even
bother to describe how it might be construed to be similar to replace
refs.
Johannes Schindelin (11):
argv_array: offer to split a string by whitespace
commit: Let the callback of for_each_mergetag return on error
replace: avoid using die() to indicate a bug
We have the BUG() macro for that purpose.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
builtin/replace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/replace.c b/builtin/replace.c
index 245d3f4164e..e345a5a0f1c 100644
--- a/builtin/rep
Hi Elijah,
On Tue, 24 Apr 2018, Elijah Newren wrote:
> On Tue, Apr 24, 2018 at 4:58 AM, Johannes Schindelin
> <johannes.schinde...@gmx.de> wrote:
> >
> > On Tue, 24 Apr 2018, Junio C Hamano wrote:
> >
> >> Yeah, but as opposed to passing "oh, let'
Hi Junio,
On Wed, 25 Apr 2018, Junio C Hamano wrote:
> I really want to see that the runtime prefix stuff mature enough during
> this cycle, so these follow-up patches are all very much appreciated.
FWIW I merged these patches (including my touch-ups) into Git for Windows'
`master` branch
Hi Hannes,
On Wed, 25 Apr 2018, Johannes Sixt wrote:
> Am 25.04.2018 um 02:05 schrieb Junio C Hamano:
> > Johannes Sixt writes:
> > > It is not uncommon to request that the output remains visible in
> > > the terminal.
I ran `git log` and then hit `q`, and the latest screen
DEBUGGER="valgrind --tool=memcheck --track-origins=yes" git $ARGS
>
> There is also a handy shortcut of GIT_DEBUGGER=1 meaning the same as
> GIT_DEBUGGER="gdb --args"
>
> Original-patch-by: Johannes Schindelin <johannes.schinde...@gmx.de>
> Signed-off-by: Elijah Newren <new...@gmail.com>
Looks good to me!
Dscho
Hi Philip & Junio,
On Wed, 25 Apr 2018, Junio C Hamano wrote:
> "Philip Oakley" writes:
>
> > Perhaps something like:
> > +$GIT_DIR/shallow, and handle its contents similar to replace
> > +refs (with the difference that shallow does not actually
> > +create those replace
Hi Stefan,
On Tue, 24 Apr 2018, Stefan Beller wrote:
> On Tue, Apr 24, 2018 at 11:51 AM, Johannes Schindelin
> <johannes.schinde...@gmx.de> wrote:
>
> >
> > Oy vey. How many more mistakes can I introduce in one commit...
> >
>
> I ask this myself
Hi Paul,
On Wed, 25 Apr 2018, Paul-Sebastian Ungureanu wrote:
> It is a pleasure and an honor for me to take part in Google Summer of
> Code. I am sure it will be a exciting summer and I will definitely give
> 100% to successfully fulfill 'git stash' project!
I am excited, too, and really glad
Hi Philip,
On Sun, 22 Apr 2018, Philip Oakley wrote:
> From: "Johannes Schindelin" <johannes.schinde...@gmx.de>
> > Now that grafts are deprecated, we should start to assume that readers
> > have no idea what grafts are. So it makes more sense to describe the
Hi Eric,
On Sat, 21 Apr 2018, Eric Sunshine wrote:
> On Sat, Apr 21, 2018 at 5:48 AM, Johannes Schindelin
> <johannes.schinde...@gmx.de> wrote:
> > This option is intended to help with the transition away from the
> > now-deprecated graft file.
> >
> >
Hi Stefan,
On Mon, 23 Apr 2018, Stefan Beller wrote:
> On Fri, Apr 20, 2018 at 3:21 PM, Johannes Schindelin
> <johannes.schinde...@gmx.de> wrote:
> > @@ -250,27 +257,38 @@ static void import_object(struct object_id *oid, enum
> > object_type type,
> > -
Hi Junio,
On Tue, 24 Apr 2018, Junio C Hamano wrote:
> Junio C Hamano writes:
>
> > Junio C Hamano writes:
> >
> >>> base-commit: b46fe60e1d7235603a29499822493bd3791195da
> >>
> >> Basing your work on the tip of 'next' is good for discussion, but
> >> not
Hi Junio,
On Tue, 24 Apr 2018, Junio C Hamano wrote:
> Ben Peart writes:
>
> >> I also had to wonder how "merge -s resolve" faired, if the project
> >> is not interested in renamed paths at all.
> >>
> >
> > To be clear, it isn't that we're not interested in detecting
Hi Martin,
On Tue, 24 Apr 2018, Martin Ågren wrote:
> On 24 April 2018 at 08:20, Jacob Keller wrote:
> > I'm guessing the diff algorithm simply found that this was a more
> > compact representation of the change? It's a bit confusing when your
> > description indicates
Hi Philip,
On Sun, 22 Apr 2018, Philip Oakley wrote:
> From: "Johannes Schindelin" <johannes.schinde...@gmx.de>
> > Once upon a time, this here developer thought: wouldn't it be nice if,
> > say, Git for Windows' patches on top of core Git could be represent
Hi Junio,
On Tue, 24 Apr 2018, Junio C Hamano wrote:
> "Philip Oakley" writes:
>
> >> +-r::
> >> +--rebase-merges::
> >> + By default, a rebase will simply drop merge commits and only rebase
> >> + the non-merge commits. With this option, it will try to preserve
> >> +
Hi Philip,
On Sun, 22 Apr 2018, Philip Oakley wrote:
> From: "Johannes Schindelin" <johannes.schinde...@gmx.de>
> > Once upon a time, this here developer thought: wouldn't it be nice if,
> > say, Git for Windows' patches on top of core Git could be represent
Hi Philip,
On Sun, 22 Apr 2018, Philip Oakley wrote:
> From: "Johannes Schindelin" <johannes.schinde...@gmx.de>
>
> Sorry for the very late in the series comments..
>
> > The sequencer just learned new commands intended to recreate branch
> > structure
Hi Martin,
On Tue, 24 Apr 2018, Martin Ågren wrote:
> On 23 April 2018 at 17:54, Phillip Wood wrote:
> > I'm fine with leaving it, I've might get round to doing a small series to
> > clean things up slightly in a few weeks. At the moment
> >
Hi Philip,
On Mon, 23 Apr 2018, Philip Oakley wrote:
> From: "Johannes Schindelin" <johannes.schinde...@gmx.de> : Monday, April 23,
> 2018 1:03 PM
> Subject: Re: [PATCH v8 06/16] sequencer: introduce the `merge` command
>
> [...]
> >
> > > > labe
Hi Phillip,
On Sun, 22 Apr 2018, Phillip Wood wrote:
> On 21/04/18 16:56, Phillip Wood wrote:
> > On 21/04/18 11:33, Johannes Schindelin wrote:
> >> This patch is part of the effort to reimplement `--preserve-merges` with
> >> a substantially improved design, a des
Hi Phillip,
On Sat, 21 Apr 2018, Phillip Wood wrote:
> On 21/04/18 11:33, Johannes Schindelin wrote:
> > This patch is part of the effort to reimplement `--preserve-merges` with
> > a substantially improved design, a design that has been developed in the
> > Git for Window
Hi Philip,
On Sun, 22 Apr 2018, Philip Oakley wrote:
> From: "Johannes Schindelin" <johannes.schinde...@gmx.de>
> > This patch is part of the effort to reimplement `--preserve-merges` with
> > a substantially improved design, a design that has been developed in
Hi Philip,
On Sun, 22 Apr 2018, Philip Oakley wrote:
> is this part of your series "argv_array: offer to split a string by
> whitespace"?
>
> https://public-inbox.org/git/capig+ctdbttuefymkntm773ebge14tpic4g4xefusvwsypd...@mail.gmail.com/
>
> - Original Message - From:
Oakley <philipoak...@iee.org>
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Makefile | 2 +-
exec-cmd.c | 4 ++--
sideband.c | 10 +-
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index 111e93d3bea..49cec672242 100644
--
The system_path() function returns a freshly-allocated string. We need
to release it.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
gettext.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gettext.c b/gettext.c
index 701355d66e7..72727
-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
gettext.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gettext.c b/gettext.c
index baba28343c3..701355d66e7 100644
--- a/gettext.c
+++ b/gettext.c
@@ -163,6 +163,9 @@ void git_setup_gettext(void)
if (!podir)
since v1:
- clarified in v1 why we cannot simply force users to recompile with NO_GETTEXT
instead.
Johannes Schindelin (2):
gettext: avoid initialization if the locale dir is not present
git_setup_gettext: plug memory leak
Philip Oakley (1):
Avoid multiple PREFIX definitions
Makefile
The --rebase-merges mode is probably not half as intuitive to use as
its inventor hopes, so let's document it some.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/git-rebase.txt | 135 +++
1 file changed, 135 insertions(+)
and let's not rebase them by default, introducing the new
"rebase-cousins" mode for use cases where they should be rebased.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/git-rebase.txt | 7 ++-
builtin/rebase--helper.c | 9 -
git-
-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/config.txt | 8
Documentation/git-pull.txt | 6 +-
builtin/pull.c | 14 ++
builtin/remote.c | 18 ++
c
l trickery to create such merges with
Git's commands in the first place, we do not even have to bother to
introduce an option to force `merge` to create such merge commits.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 7 +++
t/t3430-reba
ost-rewrite hooks do
not need to handle them.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 5 -
t/t3430-rebase-merges.sh | 25 +
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/sequencer.c b/sequence
This allows for rebases to be run in parallel in separate worktrees
(think: interrupted in the middle of one rebase, being asked to perform
a different rebase, adding a separate worktree just for that job).
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
From: Phillip Wood
If there are empty commits on the left hand side of $upstream...HEAD
then the empty commits on the right hand side that we want to keep are
being pruned.
Signed-off-by: Phillip Wood
---
` so that we can later always refer to the revision
onto which everything is rebased.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
builtin/rebase--helper.c | 4 +-
sequencer.c | 351 ++-
sequencer.h |
ld-extra/blob/master/shears.sh
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
Documentation/git-rebase.txt | 20 ++-
contrib/completion/git-completion.bash | 2 +-
git-rebase--interactive.sh | 1 +
git-rebase.sh | 6 +
-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 33 -
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/sequencer.c b/sequencer.c
index 35fcacbdf0f..5944d3a34eb 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -2680,7 +2680,7 @@
ds support for recursive merges, to keep things
simple. Support for octopus merges will be added later in a separate
patch series, support for merges using strategies other than the
recursive merge is left for the future.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
t list.
Signed-off-by: Stefan Beller <sbel...@google.com>
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
git-rebase--interactive.sh | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/git-rebase--interactive.sh b/git-rebase--in
Previously, we did that just magically, and potentially left some users
quite puzzled. Let's err on the safe side instead, telling the user what
is happening, and how they are supposed to continue.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.
the correctness of the code. It is not performance-critical
code anyway.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 60 -
1 file changed, 36 insertions(+), 24 deletions(-)
diff --git a/sequencer.c b/seque
` commands anyway.
However, the upcoming `merge` command *will* want to be handled by that
function, and it *can* handle commits.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sequenc
As pointed out in a review of the `--rebase-merges` patch series,
`rollback_lock_file()` clobbers errno. Therefore, we have to report the
error message that uses errno before calling said function.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
sequencer.c | 10 ++-
write out .git/rebase-merge/patch.
- An `exec git cherry-pick` or `exec git revert` will no longer mess
with refs/rewritten/ in sequencer_remove_state() (d'oh).
Johannes Schindelin (14):
sequencer: avoid using errno clobbered by rollback_lock_file()
sequencer: make rearrange_squash()
Hi Ævar,
On Sat, 21 Apr 2018, Ævar Arnfjörð Bjarmason wrote:
> I still stand by the observation that the "why don't we" isn't clear at
> all from your patch's commit message and that should be fixed. It
> doesn't mention any of the actual reasons for the change which have been
> revealed in this
ded in 4/4
- renamed color.advice.advice to color.advice.hint in 2/4 and 4/4
Johannes Schindelin (3):
color: introduce support for colorizing stderr
Add a test to verify that push errors are colorful
Document the new color.* settings to colorize push errors/hints
Ryan Dammrose (1):
push
== 2 for stdout
and stderr, respectively), and then define the macro `want_color()` to
use the want_color_fd() function.
And then also add a macro `want_color_stderr()`, for convenience and
for documentation.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
color.
.
Signed-off-by: Johannes Schindelin <johannes.schinde...@gmx.de>
---
t/t5541-http-push-smart.sh | 12
1 file changed, 12 insertions(+)
diff --git a/t/t5541-http-push-smart.sh b/t/t5541-http-push-smart.sh
index 21340e89c96..a2af693068f 100755
--- a/t/t5541-http-push-smart.sh
+
1101 - 1200 of 5954 matches
Mail list logo