<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/pull.c, branch v2.9.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.9.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.9.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-05-17T21:38:23Z</updated>
<entry>
<title>Merge branch 'va/i18n-misc-updates'</title>
<updated>2016-05-17T21:38:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-05-17T21:38:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e5e7a9115dc9373f18a6470139cf05d4a541fb16'/>
<id>urn:sha1:e5e7a9115dc9373f18a6470139cf05d4a541fb16</id>
<content type='text'>
Mark several messages for translation.

* va/i18n-misc-updates:
  i18n: unpack-trees: avoid substituting only a verb in sentences
  i18n: builtin/pull.c: split strings marked for translation
  i18n: builtin/pull.c: mark placeholders for translation
  i18n: git-parse-remote.sh: mark strings for translation
  i18n: branch: move comment for translators
  i18n: branch: unmark string for translation
  i18n: builtin/rm.c: remove a comma ',' from string
  i18n: unpack-trees: mark strings for translation
  i18n: builtin/branch.c: mark option for translation
  i18n: index-pack: use plural string instead of normal one
</content>
</entry>
<entry>
<title>Merge branch 'jc/merge-refuse-new-root'</title>
<updated>2016-04-29T19:59:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-04-29T19:59:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=175008d45474ff78ca9e3dcf038df359a97b4d92'/>
<id>urn:sha1:175008d45474ff78ca9e3dcf038df359a97b4d92</id>
<content type='text'>
"git pull" has been taught to pass --allow-unrelated-histories
option to underlying "git merge".

* jc/merge-refuse-new-root:
  pull: pass --allow-unrelated-histories to "git merge"
  t3033: avoid 'ambiguous refs' warning
</content>
</entry>
<entry>
<title>pull: pass --allow-unrelated-histories to "git merge"</title>
<updated>2016-04-21T18:58:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-03-18T20:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=09c2cb877a9cc0f6f25eac8d43663f4e8f3309a4'/>
<id>urn:sha1:09c2cb877a9cc0f6f25eac8d43663f4e8f3309a4</id>
<content type='text'>
The previous commit said:

    We could add the same option to "git pull" and have it passed
    through to underlying "git merge".  I do not have a fundamental
    opposition against such a feature, but this commit does not do
    so and instead leaves it as low-hanging fruit for others,
    because such a "two project merge" would be done after fetching
    the other project into some location in the working tree of an
    existing project and making sure how well they fit together, it
    is sufficient to allow a local merge without such an option
    pass-through from "git pull" to "git merge".

Prepare a patch to make it a reality, just in case it is needed.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: builtin/pull.c: split strings marked for translation</title>
<updated>2016-04-19T19:07:49Z</updated>
<author>
<name>Vasco Almeida</name>
<email>vascomalmeida@sapo.pt</email>
</author>
<published>2016-04-19T13:19:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=daf9f6499f853804270da4456664c2ff576774de'/>
<id>urn:sha1:daf9f6499f853804270da4456664c2ff576774de</id>
<content type='text'>
Split string "If you wish to set tracking information
for this branch you can do so with:\n" to match occurring string in
git-parse-remote.sh. In this case, the translator handles it only once.

On the other hand, the translations of the string that were already made
are mark as fuzzy and the translator needs to correct it herself.

Signed-off-by: Vasco Almeida &lt;vascomalmeida@sapo.pt&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: builtin/pull.c: mark placeholders for translation</title>
<updated>2016-04-19T19:07:49Z</updated>
<author>
<name>Vasco Almeida</name>
<email>vascomalmeida@sapo.pt</email>
</author>
<published>2016-04-19T13:19:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8a0de58a2a0cfd64944c2de9df184253286b7eac'/>
<id>urn:sha1:8a0de58a2a0cfd64944c2de9df184253286b7eac</id>
<content type='text'>
Some translations might also translate "&lt;remote&gt;" and "&lt;branch&gt;".

Signed-off-by: Vasco Almeida &lt;vascomalmeida@sapo.pt&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>git-pull.c: introduce git_pull_config()</title>
<updated>2016-03-21T20:23:44Z</updated>
<author>
<name>Mehul Jain</name>
<email>mehul.jain2029@gmail.com</email>
</author>
<published>2016-03-21T18:18:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c48d73bdececb38af237450724b1a67307d7a013'/>
<id>urn:sha1:c48d73bdececb38af237450724b1a67307d7a013</id>
<content type='text'>
git-pull makes a seperate call to git_config_get_bool() to read the value
of "rebase.autostash". This can be reduced as a call to git_config() is
already there in the code.

Introduce a callback function git_pull_config() to read "rebase.autostash"
along with other variables.

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>Merge branch 'jc/strbuf-getline'</title>
<updated>2016-01-29T00:10:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-01-29T00:10:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b62624b51a54325e6884c197352dc0dcef700325'/>
<id>urn:sha1:b62624b51a54325e6884c197352dc0dcef700325</id>
<content type='text'>
The preliminary clean-up for jc/peace-with-crlf topic.

* jc/strbuf-getline:
  strbuf: give strbuf_getline() to the "most text friendly" variant
  checkout-index: there are only two possible line terminations
  update-index: there are only two possible line terminations
  check-ignore: there are only two possible line terminations
  check-attr: there are only two possible line terminations
  mktree: there are only two possible line terminations
  strbuf: introduce strbuf_getline_{lf,nul}()
  strbuf: make strbuf_getline_crlf() global
  strbuf: miniscule style fix
</content>
</entry>
<entry>
<title>Merge branch 'js/pull-rebase-i'</title>
<updated>2016-01-26T23:40:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-01-26T23:40:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f9219c0b3233229c6686224dfc953e5b3fe92a84'/>
<id>urn:sha1:f9219c0b3233229c6686224dfc953e5b3fe92a84</id>
<content type='text'>
"git pull --rebase" has been extended to allow invoking
"rebase -i".

* js/pull-rebase-i:
  completion: add missing branch.*.rebase values
  remote: handle the config setting branch.*.rebase=interactive
  pull: allow interactive rebase with --rebase=interactive
</content>
</entry>
<entry>
<title>strbuf: introduce strbuf_getline_{lf,nul}()</title>
<updated>2016-01-15T18:12:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-01-13T23:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8f309aeb8225a9c26f20c0dbc031f1ea8df75d49'/>
<id>urn:sha1:8f309aeb8225a9c26f20c0dbc031f1ea8df75d49</id>
<content type='text'>
The strbuf_getline() interface allows a byte other than LF or NUL as
the line terminator, but this is only because I wrote these
codepaths anticipating that there might be a value other than NUL
and LF that could be useful when I introduced line_termination long
time ago.  No useful caller that uses other value has emerged.

By now, it is clear that the interface is overly broad without a
good reason.  Many codepaths have hardcoded preference to read
either LF terminated or NUL terminated records from their input, and
then call strbuf_getline() with LF or NUL as the third parameter.

This step introduces two thin wrappers around strbuf_getline(),
namely, strbuf_getline_lf() and strbuf_getline_nul(), and
mechanically rewrites these call sites to call either one of
them.  The changes contained in this patch are:

 * introduction of these two functions in strbuf.[ch]

 * mechanical conversion of all callers to strbuf_getline() with
   either '\n' or '\0' as the third parameter to instead call the
   respective thin wrapper.

After this step, output from "git grep 'strbuf_getline('" would
become a lot smaller.  An interim goal of this series is to make
this an empty set, so that we can have strbuf_getline_crlf() take
over the shorter name strbuf_getline().

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
