<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-pull.sh, branch v2.3.8</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.8</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.8'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-08-28T17:29:53Z</updated>
<entry>
<title>merge, pull: stop advising 'commit -a' in case of conflict</title>
<updated>2014-08-28T17:29:53Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2014-08-28T09:46:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=91e70e00ac3e72eb81e10273b48d884553e7d01d'/>
<id>urn:sha1:91e70e00ac3e72eb81e10273b48d884553e7d01d</id>
<content type='text'>
'git commit -a' is rarely a good way to mark conflicts as resolved:
the user anyway has to go manually through the list of conflicts to
do the actual resolution, and it is usually better to use "git add"
on each files after doing the resolution.

On the other hand, using 'git commit -a' is potentially dangerous,
as it makes it very easy to mistakenly commit conflict markers
without noticing, and even worse, the user may have started a merge
while having local changes that do not overlap with it in the
working tree.

While we're there, synchronize the 'git pull' and 'git merge'
messages: the first was ending with '...  and make a commit.', but
not the latter.

Eventually, git should detect that conflicts have been resolved in
the working tree and tailor these messages further.  Not only "use
git commit -a" could be resurected, but "Fix them up in the work
tree" should be dropped when it happens.

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Sync with maint</title>
<updated>2014-06-12T19:22:38Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-06-12T19:22:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=75cc6c67e25656c1b19c7c8f6ca29d1463aefef4'/>
<id>urn:sha1:75cc6c67e25656c1b19c7c8f6ca29d1463aefef4</id>
<content type='text'>
* maint:
  pull: do not abuse 'break' inside a shell 'case'
</content>
</entry>
<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>git-pull.sh: use the $( ... ) construct for command substitution</title>
<updated>2014-04-23T22:17:02Z</updated>
<author>
<name>Elia Pinto</name>
<email>gitter.spiros@gmail.com</email>
</author>
<published>2014-04-23T13:43:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eadf619cd434135bdfa598566376b3e3dbf9f2b5'/>
<id>urn:sha1:eadf619cd434135bdfa598566376b3e3dbf9f2b5</id>
<content type='text'>
The Git CodingGuidelines prefer the $(...) construct for command
substitution instead of using the backquotes `...`.

The backquoted form is the traditional method for command
substitution, and is supported by POSIX.  However, all but the
simplest uses become complicated quickly.  In particular, embedded
command substitutions and/or the use of double quotes require
careful escaping with the backslash character.

The patch was generated by:

for _f in $(find . -name "*.sh")
do
   sed -i 's@`\(.*\)`@$(\1)@g' ${_f}
done

and then carefully proof-read.

Signed-off-by: Elia Pinto &lt;gitter.spiros@gmail.com&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&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>
</feed>
