<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-pull.sh, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-06-12T19:15:49Z</updated>
<entry>
<title>pull: do not abuse 'break' inside a shell 'case'</title>
<updated>2014-06-12T19:15:49Z</updated>
<author>
<name>Jacek Konieczny</name>
<email>jajcus@jajcus.net</email>
</author>
<published>2014-06-11T08:47:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8f92c7755ef2e2802e24eeb3a7de1727045950c0'/>
<id>urn:sha1:8f92c7755ef2e2802e24eeb3a7de1727045950c0</id>
<content type='text'>
It is not C. The code would break under mksh when 'pull.ff' is set:

  $ git pull
  /usr/lib/git-core/git-pull[67]: break: can't break
  Already up-to-date.

Signed-off-by: Jacek Konieczny &lt;jajcus@jajcus.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bc/gpg-sign-everywhere'</title>
<updated>2014-02-27T22:01:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-02-27T22:01:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=62bef66fe783a6a49e4418b6ce194cc94017bc7c'/>
<id>urn:sha1:62bef66fe783a6a49e4418b6ce194cc94017bc7c</id>
<content type='text'>
Teach "--gpg-sign" option to many commands that create commits.

* bc/gpg-sign-everywhere:
  pull: add the --gpg-sign option.
  rebase: add the --gpg-sign option
  rebase: parse options in stuck-long mode
  rebase: don't try to match -M option
  rebase: remove useless arguments check
  am: add the --gpg-sign option
  am: parse options in stuck-long mode
  git-sh-setup.sh: add variable to use the stuck-long mode
  cherry-pick, revert: add the --gpg-sign option
</content>
</entry>
<entry>
<title>Merge branch 'da/pull-ff-configuration'</title>
<updated>2014-02-27T22:01:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-02-27T22:01:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7da5fd6895af9066ad4684e333c57f4086589c2f'/>
<id>urn:sha1:7da5fd6895af9066ad4684e333c57f4086589c2f</id>
<content type='text'>
"git pull" learned to pay attention to pull.ff configuration
variable.

* da/pull-ff-configuration:
  pull: add --ff-only to the help text
  pull: add pull.ff configuration
</content>
</entry>
<entry>
<title>pull: add the --gpg-sign option.</title>
<updated>2014-02-11T22:52:08Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2014-02-10T01:03:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ea230d8b626d48a5b7851d84f75dd6708479cb59'/>
<id>urn:sha1:ea230d8b626d48a5b7851d84f75dd6708479cb59</id>
<content type='text'>
git merge already allows us to sign commits, and git rebase has recently
learned how to do so as well.  Teach git pull to parse the -S/--gpg-sign
option and pass this along to merge or rebase, as appropriate.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/pull-rebase-using-fork-point'</title>
<updated>2014-01-17T20:04:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-01-17T20:04:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d8cf714c0edf261a2bcc126fc240b10ed04a5b8d'/>
<id>urn:sha1:d8cf714c0edf261a2bcc126fc240b10ed04a5b8d</id>
<content type='text'>
Finishing touches so that an expected error message will not leak to
the UI.

* jk/pull-rebase-using-fork-point:
  pull: suppress error when no remoteref is found
</content>
</entry>
<entry>
<title>pull: suppress error when no remoteref is found</title>
<updated>2014-01-17T20:03:32Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-01-17T20:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ffc2b483dee43c2687088d4c73d7532fda855050'/>
<id>urn:sha1:ffc2b483dee43c2687088d4c73d7532fda855050</id>
<content type='text'>
Commit 48059e4 (pull: use merge-base --fork-point when appropriate,
2013-12-08) incorrectly assumes that get_remote_merge_branch will either
yield a non-empty string or return an error, but there are circumstances
where it will yield an empty string.

The previous code then invoked git-rev-list with no arguments, which
results in an error suppressed by redirecting stderr to /dev/null.  Now
we invoke git-merge-base with an empty branch name, which also results
in an error.  Suppress this in the same way.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pull: add --ff-only to the help text</title>
<updated>2014-01-16T00:01:07Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2014-01-15T23:18:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ef93e3a49c3b2b62c6c450f862ce1626bc8dab54'/>
<id>urn:sha1:ef93e3a49c3b2b62c6c450f862ce1626bc8dab54</id>
<content type='text'>
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>pull: add pull.ff configuration</title>
<updated>2014-01-16T00:01:06Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2014-01-15T23:18:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b814da891e8261b909fc5d9fb07b4e8b13989c2d'/>
<id>urn:sha1:b814da891e8261b909fc5d9fb07b4e8b13989c2d</id>
<content type='text'>
Add a `pull.ff` configuration option that is analogous
to the `merge.ff` option.

This allows us to control the fast-forward behavior for
pull-initiated merges only.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/pull-rebase-using-fork-point'</title>
<updated>2013-12-27T22:58:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-12-27T22:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2b0a564e02528e006d23e3318d0d2869fb239425'/>
<id>urn:sha1:2b0a564e02528e006d23e3318d0d2869fb239425</id>
<content type='text'>
* jk/pull-rebase-using-fork-point:
  rebase: use reflog to find common base with upstream
  pull: use merge-base --fork-point when appropriate
</content>
</entry>
<entry>
<title>pull: use merge-base --fork-point when appropriate</title>
<updated>2013-12-09T21:05:20Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2013-12-08T12:47:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=48059e405028ebf8a09c5a9aede89dfb460cce98'/>
<id>urn:sha1:48059e405028ebf8a09c5a9aede89dfb460cce98</id>
<content type='text'>
Since commit d96855f (merge-base: teach "--fork-point" mode, 2013-10-23)
we can replace a shell loop in git-pull with a single call to
git-merge-base.  So let's do so.

Signed-off-by: John Keeping &lt;john@keeping.me.uk&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
