<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-pull.sh, branch v1.5.6.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.5.6.4</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.5.6.4'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2008-05-23T06:05:11Z</updated>
<entry>
<title>pull --rebase: exit early when the working directory is dirty</title>
<updated>2008-05-23T06:05:11Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2008-05-21T11:32:16Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=f9189cf8f2427b10a40b5b3e530e2c893bc64ae9'/>
<id>urn:sha1:f9189cf8f2427b10a40b5b3e530e2c893bc64ae9</id>
<content type='text'>
When rebasing fails during "pull --rebase", you cannot just clean up the
working directory and call "pull --rebase" again, since the remote branch
was already fetched.

Therefore, die early when the working directory is dirty.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>merge, pull: add '--(no-)log' command line option</title>
<updated>2008-04-13T02:28:18Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder@ira.uka.de</email>
</author>
<published>2008-04-06T01:23:46Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=efb779f8873e5aa36be29a4e551186c62c1b580c'/>
<id>urn:sha1:efb779f8873e5aa36be29a4e551186c62c1b580c</id>
<content type='text'>
These are the command line option equivalents of the 'merge.log' config
variable.

The patch also updates documentation and bash completion accordingly, and
adds a test.

Signed-off-by: SZEDER Gábor &lt;szeder@ira.uka.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>merge, pull: introduce '--(no-)stat' option</title>
<updated>2008-04-13T02:28:18Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder@ira.uka.de</email>
</author>
<published>2008-04-06T01:23:43Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=d8abe148bece83f6c3e5ebe6075aef236322ed74'/>
<id>urn:sha1:d8abe148bece83f6c3e5ebe6075aef236322ed74</id>
<content type='text'>
This option has the same effect as '--(no-)summary' (i.e. whether to
show a diffsat at the end of the merge or not), and it is consistent
with the '--stat' option of other git commands.

Documentation, tests, and bash completion are updaed accordingly, and the
old --summary option is marked as being deprected.

Signed-off-by: SZEDER Gábor &lt;szeder@ira.uka.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pull: pass --strategy along to to rebase</title>
<updated>2008-02-23T05:44:46Z</updated>
<author>
<name>Jay Soffian</name>
<email>jaysoffian@gmail.com</email>
</author>
<published>2008-02-23T00:52:29Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=0d2dd191cdfa3f1795c4df60a5cfb0f7e58c097a'/>
<id>urn:sha1:0d2dd191cdfa3f1795c4df60a5cfb0f7e58c097a</id>
<content type='text'>
rebase supports --strategy, so pull should pass the option along to it.

Signed-off-by: Jay Soffian &lt;jaysoffian@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pull --rebase: be cleverer with rebased upstream branches</title>
<updated>2008-01-27T02:24:24Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2008-01-26T18:04:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c85c79279df2c8a583d95449d1029baba41f8660'/>
<id>urn:sha1:c85c79279df2c8a583d95449d1029baba41f8660</id>
<content type='text'>
When the upstream branch is tracked, we can detect if that branch
was rebased since it was last fetched.  Teach git to use that
information to rebase from the old remote head onto the new remote head.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>"git pull --tags": error out with a better message.</title>
<updated>2007-12-29T05:01:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-12-28T21:58:43Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=441ed4131b2d735fea08e4f6277c12b13acebd53'/>
<id>urn:sha1:441ed4131b2d735fea08e4f6277c12b13acebd53</id>
<content type='text'>
When "git pull --tags" is run without any other arguments, the
standard error message "You told me to fetch and merge stuff but
there is nothing to merge!  You might want to fix your config"
is given.

While the error may be technically correct, fixing the config
would not help, as "git pull --tags" itself tells "git fetch"
not to use the configured refspecs.

This commit makes "git pull --tags" to issue a different error
message to avoid confusion.  This is merely an interim solution.

In the longer term, it would be a better approach to change the
semantics of --tags option to make "git fetch" and "git pull"
to:

 (1) behave as if no --tags was given (so an explicit refspec on
     the command line overrides configured ones, or no explicit
     refspecs on the command line takes configured ones); but

 (2) no auto-following of tags is made even when using
     configured refspecs; and

 (3) fetch all tags as not-for-merge entries".

Then we would not need to have this separate error message, as
the ordinary merge will happen even with the --tags option.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Teach 'git pull' about --rebase</title>
<updated>2007-11-29T01:32:23Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2007-11-28T13:11:07Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=cd67e4d46b122b161f2ad7d943e4ae7aa8df6cf5'/>
<id>urn:sha1:cd67e4d46b122b161f2ad7d943e4ae7aa8df6cf5</id>
<content type='text'>
When calling 'git pull' with the '--rebase' option, it performs a
fetch + rebase instead of a fetch + merge.

This behavior is more desirable than fetch + pull when a topic branch
is ready to be submitted and needs to be update.

fetch + rebase might also be considered a better workflow with shared
repositories in any case, or for contributors to a centrally managed
repository, such as WINE's.

As a convenience, you can set the default behavior for a branch by
defining the config variable branch.&lt;name&gt;.rebase, which is
interpreted as a bool.  This setting can be overridden on the command
line by --rebase and --no-rebase.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>scripts: Add placeholders for OPTIONS_SPEC</title>
<updated>2007-11-06T09:50:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-11-06T09:50:02Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=8f321a39257a06db014a3b6ae5dce839821cdb16'/>
<id>urn:sha1:8f321a39257a06db014a3b6ae5dce839821cdb16</id>
<content type='text'>
--text follows this line--
These commands currently lack OPTIONS_SPEC; allow people to
easily list with "git grep 'OPTIONS_SPEC=$'" what they can help
improving.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Teach git-pull about --[no-]ff, --no-squash and --commit</title>
<updated>2007-10-29T20:32:52Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2007-10-29T08:41:18Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=5072a32382fb65fa7295811575d0f5c09cbe0dc3'/>
<id>urn:sha1:5072a32382fb65fa7295811575d0f5c09cbe0dc3</id>
<content type='text'>
These options are supported by git-merge, but git-pull didn't know about
them.

Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Make git-pull complain and give advice when there is nothing to merge with</title>
<updated>2007-10-03T00:27:48Z</updated>
<author>
<name>Federico Mena Quintero</name>
<email>federico@novell.com</email>
</author>
<published>2007-10-02T23:36:30Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=8fc293cb1e639c9ea555a8e95e3a7801fc1d1be8'/>
<id>urn:sha1:8fc293cb1e639c9ea555a8e95e3a7801fc1d1be8</id>
<content type='text'>
Signed-off-by: Federico Mena Quintero &lt;federico@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
