<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/pull.c, branch v2.10.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.10.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.10.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-07-13T18:24:10Z</updated>
<entry>
<title>Merge branch 'va/i18n-even-more'</title>
<updated>2016-07-13T18:24:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-07-13T18:24:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2703572b3a005848ed058d2775fb933a17ac3656'/>
<id>urn:sha1:2703572b3a005848ed058d2775fb933a17ac3656</id>
<content type='text'>
More markings of messages for i18n, with updates to various tests
to pass GETTEXT_POISON tests.

One patch from the original submission dropped due to conflicts
with jk/upload-pack-hook, which is still in flux.

* va/i18n-even-more: (38 commits)
  t5541: become resilient to GETTEXT_POISON
  i18n: branch: mark comment when editing branch description for translation
  i18n: unmark die messages for translation
  i18n: submodule: escape shell variables inside eval_gettext
  i18n: submodule: join strings marked for translation
  i18n: init-db: join message pieces
  i18n: remote: allow translations to reorder message
  i18n: remote: mark URL fallback text for translation
  i18n: standardise messages
  i18n: sequencer: add period to error message
  i18n: merge: change command option help to lowercase
  i18n: merge: mark messages for translation
  i18n: notes: mark options for translation
  i18n: notes: mark strings for translation
  i18n: transport-helper.c: change N_() call to _()
  i18n: bisect: mark strings for translation
  t5523: use test_i18ngrep for negation
  t4153: fix negated test_i18ngrep call
  t9003: become resilient to GETTEXT_POISON
  tests: unpack-trees: update to use test_i18n* functions
  ...
</content>
</entry>
<entry>
<title>i18n: advice: internationalize message for conflicts</title>
<updated>2016-06-17T22:45:48Z</updated>
<author>
<name>Vasco Almeida</name>
<email>vascomalmeida@sapo.pt</email>
</author>
<published>2016-06-17T20:20:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8785c425320e9288d13f0218e591a8aa5c57479c'/>
<id>urn:sha1:8785c425320e9288d13f0218e591a8aa5c57479c</id>
<content type='text'>
Mark message for translation telling the user she has conflicts to
resolve. Expose each particular use case, in order to enable translating
entire sentences which would facilitate translating into other
languages.

Change "Pull" to lowercase to match other instances. Update test
t5520-pull.sh, that relied on the old error message, to use the new one.

Although we loose in source code conciseness, we would gain better
translations because translators can 1) translate the entire sentence,
including those terms concerning Git (committing, merging, etc) 2) have
leeway to adapt to their languages.

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: warn on --verify-signatures with --rebase</title>
<updated>2016-05-20T22:01:00Z</updated>
<author>
<name>Alexander Hirsch</name>
<email>1zeeky@gmail.com</email>
</author>
<published>2016-05-20T21:00:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c57e501c51d6b76ce30658b94ee4a5dc6ac27f3e'/>
<id>urn:sha1:c57e501c51d6b76ce30658b94ee4a5dc6ac27f3e</id>
<content type='text'>
git-pull silently ignores the --verify-signatures option when
running --rebase, potentially leaving users in the belief that
the rebase operation would check for valid GPG signatures.

Implementing --verify-signatures for git-rebase was talked about,
but doubts for a valid workflow rose up.  Since you usually merge
other's branches into your branch you might have an interest that
their side has a valid GPG signature.

Rebasing, on the other hand, is to rebuild your branch on top of
other's work, in order to push the result back, and it is too late
to reject their work even if you find their commits lack acceptable
signature.

Let's warn users that the --verify-signatures option is ignored
during "pull --rebase"; users do not wonder what would happen if
their commits lack acceptable signature that way.

Signed-off-by: Alexander Hirsch &lt;1zeeky@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<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>
</feed>
