<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-pull.txt, branch v2.13.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.13.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.13.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-06-02T05:10:57Z</updated>
<entry>
<title>docs: fix formatting and grammar</title>
<updated>2017-06-02T05:10:57Z</updated>
<author>
<name>Adam Dinwoodie</name>
<email>adam@dinwoodie.org</email>
</author>
<published>2017-06-01T10:37:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0c79cee697f7f4e304c53108ee895b706df1322e'/>
<id>urn:sha1:0c79cee697f7f4e304c53108ee895b706df1322e</id>
<content type='text'>
When compiling the documentation, asciidoc thinks a backtick surrounded
by whitespace shouldn't be interpreted as marking the start or end of a
literal.  In most cases, that's useful behaviour, but in the git-pull
documentation it means asciidoc is failing to correctly detect which
text should be monospaced and which shouldn't.

To avoid this, remove the extraneous spaces from the text to be
monospaced.  It would also be possible to fix the formatting by
switching to asciidoc's ++ monospace format markers and still have the
space characters included in the monospace text, but the spaces aren't
necessary and not having them keeps the markup simpler.

Also include a minor grammar fix suggested by Jeff while we're changing
these lines.

Signed-off-by: Adam Dinwoodie &lt;adam@dinwoodie.org&gt;
Helped-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: git-pull.txt use US spelling, fix minor typo</title>
<updated>2017-05-01T02:03:08Z</updated>
<author>
<name>René Genz</name>
<email>liebundartig@freenet.de</email>
</author>
<published>2017-04-30T14:54:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d395745d8108568934006c6411146bc93cc54737'/>
<id>urn:sha1:d395745d8108568934006c6411146bc93cc54737</id>
<content type='text'>
Signed-off-by: René Genz &lt;liebundartig@freenet.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mm/push-social-engineering-attack-doc'</title>
<updated>2017-01-10T23:24:24Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-01-10T23:24:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5f52e70879d70b211de5d6132ed96cecaa8eaf89'/>
<id>urn:sha1:5f52e70879d70b211de5d6132ed96cecaa8eaf89</id>
<content type='text'>
Doc update on fetching and pushing.

* mm/push-social-engineering-attack-doc:
  doc: mention transfer data leaks in more places
</content>
</entry>
<entry>
<title>doc: mention transfer data leaks in more places</title>
<updated>2016-11-14T19:23:07Z</updated>
<author>
<name>Matt McCutchen</name>
<email>matt@mattmccutchen.net</email>
</author>
<published>2016-11-14T18:20:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=235ec24352e151bed37063a004b9800ee0debd74'/>
<id>urn:sha1:235ec24352e151bed37063a004b9800ee0debd74</id>
<content type='text'>
The "SECURITY" section of the gitnamespaces(7) man page described two
ways for a client to steal data from a server that wasn't intended to be
shared. Similar attacks can be performed by a server on a client, so
adapt the section to cover both directions and add it to the
git-fetch(1), git-pull(1), and git-push(1) man pages. Also add
references to this section from the documentation of server
configuration options that attempt to control data leakage but may not
be fully effective.

Signed-off-by: Matt McCutchen &lt;matt@mattmccutchen.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pull --rebase: add --[no-]autostash flag</title>
<updated>2016-03-21T20:30:36Z</updated>
<author>
<name>Mehul Jain</name>
<email>mehul.jain2029@gmail.com</email>
</author>
<published>2016-03-21T18:18:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f66398eb57c627169429f47bbe4d943d2c975959'/>
<id>urn:sha1:f66398eb57c627169429f47bbe4d943d2c975959</id>
<content type='text'>
If rebase.autoStash configuration variable is set, there is no way to
override it for "git pull --rebase" from the command line.

Teach "git pull --rebase" the --[no-]autostash command line flag which
overrides the current value of rebase.autoStash, if set. As "git rebase"
understands the --[no-]autostash option, it's just a matter of passing
the option to underlying "git rebase" when "git pull --rebase" is called.

Helped-by: Matthieu Moy &lt;Matthieu.Moy@grenoble-inp.fr&gt;
Helped-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Helped-by: Paul Tan &lt;pyokagan@gmail.com&gt;
Helped-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Mehul Jain &lt;mehul.jain2029@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pull: allow interactive rebase with --rebase=interactive</title>
<updated>2016-01-13T20:59:15Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2016-01-13T12:17:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f5eb87b98dd6aa587683057b9f5bd063e682e145'/>
<id>urn:sha1:f5eb87b98dd6aa587683057b9f5bd063e682e145</id>
<content type='text'>
A couple of years ago, I found the need to collaborate on topic
branches that were rebased all the time, and I really needed to see
what I was rebasing when pulling, so I introduced an
interactively-rebasing pull.

The way builtin pull works, this change also supports the value
'interactive' for the 'branch.&lt;name&gt;.rebase' config variable, which
is a neat thing because users can now configure given branches for
interactively-rebasing pulls without having to type out the complete
`--rebase=interactive` option every time they pull.

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>pull: handle git-fetch's options as well</title>
<updated>2015-06-02T20:36:22Z</updated>
<author>
<name>Paul Tan</name>
<email>pyokagan@gmail.com</email>
</author>
<published>2015-06-02T14:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eb2a8d9ed3fca2ba2f617b704992d483605f3bb6'/>
<id>urn:sha1:eb2a8d9ed3fca2ba2f617b704992d483605f3bb6</id>
<content type='text'>
While parsing the command-line arguments, git-pull stops parsing at the
first unrecognized option, assuming that any subsequent options are for
git-fetch, and can thus be kept in the shell's positional parameters
list, so that it can be passed to git-fetch via the expansion of "$@".

However, certain functions in git-pull assume that the positional
parameters do not contain any options:

* error_on_no_merge_candidates() uses the number of positional
  parameters to determine which error message to print out, and will
  thus print the wrong message if git-fetch's options are passed in as
  well.

* the call to get_remote_merge_branch() assumes that the positional
  parameters only contains the optional repo and refspecs, and will
  thus silently fail if git-fetch's options are passed in as well.

* --dry-run is a valid git-fetch option, but if provided after any
  git-fetch options, it is not recognized by git-pull and thus git-pull
  will continue to run the merge or rebase.

Fix these bugs by teaching git-pull to parse git-fetch's options as
well. Add tests to prevent regressions.

This removes the limitation where git-fetch's options have to come after
git-merge's and git-rebase's options on the command line. Update the
documentation to reflect this.

Signed-off-by: Paul Tan &lt;pyokagan@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ss/pull-rebase-preserve'</title>
<updated>2015-03-28T16:37:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-28T16:37:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3a183520b2f5cd3db708f8d6a5b7aaba2c1779e7'/>
<id>urn:sha1:3a183520b2f5cd3db708f8d6a5b7aaba2c1779e7</id>
<content type='text'>
* ss/pull-rebase-preserve:
  docs: clarify "preserve" option wording for git-pull
</content>
</entry>
<entry>
<title>docs: clarify "preserve" option wording for git-pull</title>
<updated>2015-03-26T20:19:26Z</updated>
<author>
<name>Sebastian Schuberth</name>
<email>sschuberth@gmail.com</email>
</author>
<published>2015-03-26T20:11:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=129260cbd42f2a9fb40055ac6ed32c7b75a5ec05'/>
<id>urn:sha1:129260cbd42f2a9fb40055ac6ed32c7b75a5ec05</id>
<content type='text'>
The "also" sounds as if "preserve" does a rebase as an additional
step that "true" would not do, but that is not the case.  Clarify
this by omitting "also", and rewording the sentence a bit.

Signed-off-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>*config.txt: stick to camelCase naming convention</title>
<updated>2015-03-14T05:13:46Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2015-03-11T20:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=da0005b8853137c91e44867d899910d5c7eb4425'/>
<id>urn:sha1:da0005b8853137c91e44867d899910d5c7eb4425</id>
<content type='text'>
This should improve readability. Compare "thislongname" and
"thisLongName". The following keys are left in unchanged. We can
decide what to do with them later.

 - am.keepcr
 - core.autocrlf .safecrlf .trustctime
 - diff.dirstat .noprefix
 - gitcvs.usecrlfattr
 - gui.blamehistoryctx .trustmtime
 - pull.twohead
 - receive.autogc
 - sendemail.signedoffbycc .smtpsslcertpath .suppresscc

Helped-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
