<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-rebase.sh, branch v2.16.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.16.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.16.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-12-19T18:02:47Z</updated>
<entry>
<title>rebase: rebasing can also be done when HEAD is detached</title>
<updated>2017-12-19T18:02:47Z</updated>
<author>
<name>Kaartic Sivaraam</name>
<email>kaartic.sivaraam@gmail.com</email>
</author>
<published>2017-12-16T09:03:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=08e66700dff55640d4698c081ab3732528563396'/>
<id>urn:sha1:08e66700dff55640d4698c081ab3732528563396</id>
<content type='text'>
Attempting to rebase when the HEAD is detached and is already
up to date with upstream (so there's nothing to do), the
following message is shown

        Current branch HEAD is up to date.

which is clearly wrong as HEAD is not a branch.

Handle the special case of HEAD correctly to give a more precise
error message.

Signed-off-by: Kaartic Sivaraam &lt;kaartic.sivaraam@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Kaartic Sivaraam &lt;kaartic.sivaraam@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase: distinguish user input by quoting it</title>
<updated>2017-12-19T18:02:44Z</updated>
<author>
<name>Kaartic Sivaraam</name>
<email>kaartic.sivaraam@gmail.com</email>
</author>
<published>2017-12-16T09:03:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ca7de7b12a13c4531485788b07259a2e241f8159'/>
<id>urn:sha1:ca7de7b12a13c4531485788b07259a2e241f8159</id>
<content type='text'>
Signed-off-by: Kaartic Sivaraam &lt;kaartic.sivaraam@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Kaartic Sivaraam &lt;kaartic.sivaraam@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase: consistently use branch_name variable</title>
<updated>2017-12-19T18:02:14Z</updated>
<author>
<name>Kaartic Sivaraam</name>
<email>kaartic.sivaraam@gmail.com</email>
</author>
<published>2017-12-16T09:03:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3a9156adc774f28b3b0f880cdd285a7e01118d15'/>
<id>urn:sha1:3a9156adc774f28b3b0f880cdd285a7e01118d15</id>
<content type='text'>
The variable "branch_name" holds the &lt;branch&gt; parameter in "git
rebase &lt;upstream&gt; &lt;branch&gt;", but one codepath did not use it after
assigning $1 to it (instead it kept using $1).  Make it use the
variable consistently.

Also, update an error message to say there is no such branch or
commit, as we are expecting either of them, and not limiting
ourselves to a branch name.

Signed-off-by: Kaartic Sivaraam &lt;kaartic.sivaraam@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Kaartic Sivaraam &lt;kaartic.sivaraam@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ks/rebase-no-git-foo'</title>
<updated>2017-11-27T02:06:39Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-11-27T02:06:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=88e2efcbc415f234d38e6e1c59c8d8ae03c989b3'/>
<id>urn:sha1:88e2efcbc415f234d38e6e1c59c8d8ae03c989b3</id>
<content type='text'>
Mentions of "git-rebase" and "git-am" (dashed form) still remained
in end-user visible strings emitted by the "git rebase" command;
they have been corrected.

* ks/rebase-no-git-foo:
  git-rebase: clean up dashed-usages in messages
</content>
</entry>
<entry>
<title>Merge branch 'tz/redirect-fix'</title>
<updated>2017-11-27T02:06:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-11-27T02:06:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dec01eee45f4275f1b9115947452cbd0964a661a'/>
<id>urn:sha1:dec01eee45f4275f1b9115947452cbd0964a661a</id>
<content type='text'>
A few scripts (both in production and tests) incorrectly redirected
their error output.  These have been corrected.

* tz/redirect-fix:
  rebase: fix stderr redirect in apply_autostash()
  t/lib-gpg: fix gpgconf stderr redirect to /dev/null
</content>
</entry>
<entry>
<title>git-rebase: clean up dashed-usages in messages</title>
<updated>2017-11-21T00:34:13Z</updated>
<author>
<name>Kaartic Sivaraam</name>
<email>kaartic.sivaraam@gmail.com</email>
</author>
<published>2017-11-20T15:26:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82cb775c069642ca66f9703e196447242a6d4ea7'/>
<id>urn:sha1:82cb775c069642ca66f9703e196447242a6d4ea7</id>
<content type='text'>
Signed-off-by: Kaartic Sivaraam &lt;kaartic.sivaraam@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rebase: fix stderr redirect in apply_autostash()</title>
<updated>2017-11-14T02:51:42Z</updated>
<author>
<name>Todd Zullinger</name>
<email>tmz@pobox.com</email>
</author>
<published>2017-11-13T21:20:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eadf1c8f454aff0b77202815af7b250320a5f5bf'/>
<id>urn:sha1:eadf1c8f454aff0b77202815af7b250320a5f5bf</id>
<content type='text'>
The intention is to ignore all output from the 'git stash apply' call.
Adjust the order of the redirection to ensure that both stdout and
stderr are redirected to /dev/null.

Signed-off-by: Todd Zullinger &lt;tmz@pobox.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bc/rev-parse-parseopt-fix'</title>
<updated>2017-10-03T06:42:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-10-03T06:42:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b2a2c4d8099c69ec997e51cac489c0947ad17956'/>
<id>urn:sha1:b2a2c4d8099c69ec997e51cac489c0947ad17956</id>
<content type='text'>
Recent versions of "git rev-parse --parseopt" did not parse the
option specification that does not have the optional flags (*=?!)
correctly, which has been corrected.

* bc/rev-parse-parseopt-fix:
  parse-options: only insert newline in help text if needed
  parse-options: write blank line to correct output stream
  t0040,t1502: Demonstrate parse_options bugs
  git-rebase: don't ignore unexpected command line arguments
  rev-parse parseopt: interpret any whitespace as start of help text
  rev-parse parseopt: do not search help text for flag chars
  t1502: demonstrate rev-parse --parseopt option mis-parsing
</content>
</entry>
<entry>
<title>git-rebase: don't ignore unexpected command line arguments</title>
<updated>2017-09-19T03:13:09Z</updated>
<author>
<name>Brandon Casey</name>
<email>drafnel@gmail.com</email>
</author>
<published>2017-09-17T22:28:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=697bc8858114ddda705be6f6eb3f997b64efa659'/>
<id>urn:sha1:697bc8858114ddda705be6f6eb3f997b64efa659</id>
<content type='text'>
Currently, git-rebase will silently ignore any unexpected command-line
switches and arguments (the command-line produced by git rev-parse).
This allowed the rev-parse bug, fixed in the preceding commits, to go
unnoticed.  Let's make sure that doesn't happen again.  We shouldn't be
ignoring unexpected arguments.  Let's not.

Signed-off-by: Brandon Casey &lt;drafnel@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'kw/rebase-progress'</title>
<updated>2017-08-23T21:13:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-08-23T21:13:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ad7d3c3b391b73207fbb29da99d4f64ad0c54f00'/>
<id>urn:sha1:ad7d3c3b391b73207fbb29da99d4f64ad0c54f00</id>
<content type='text'>
"git rebase", especially when it is run by mistake and ends up
trying to replay many changes, spent long time in silence.  The
command has been taught to show progress report when it spends
long time preparing these many changes to replay (which would give
the user a chance to abort with ^C).

* kw/rebase-progress:
  rebase: turn on progress option by default for format-patch
  format-patch: have progress option while generating patches
</content>
</entry>
</feed>
