<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-pull.sh, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-02-12T12:59:25Z</updated>
<entry>
<title>Avoid using "git-var -l" until it gets fixed.</title>
<updated>2006-02-12T12:59:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-11T20:39:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4890f62bc02929b174ff5fa0e3656ea3d40f0e57'/>
<id>urn:sha1:4890f62bc02929b174ff5fa0e3656ea3d40f0e57</id>
<content type='text'>
This is to be nicer to people with unusable GECOS field.

"git-var -l" is currently broken in that when used by a user who
does not have a usable GECOS field and has not corrected it by
exporting GIT_COMMITTER_NAME environment variable it dies when
it tries to output GIT_COMMITTER_IDENT (same thing for AUTHOR).

"git-pull" used "git-var -l" only because it needed to get a
configuration variable before "git-repo-config --get" was
introduced.  Use the latter tool designed exactly for this
purpose.

"git-sh-setup" used "git-var GIT_AUTHOR_IDENT" without actually
wanting to use its value.  The only purpose was to cause the
command to check and barf if the repository format version
recorded in the $GIT_DIR/config file is too new for us to deal
with correctly.  Instead, use "repo-config --get" on a random
property and see if it die()s, and check if the exit status is
128 (comes from die -- missing variable is reported with exit
status 1, so we can tell that case apart).

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Trivial usage string clean-up</title>
<updated>2005-12-14T10:53:43Z</updated>
<author>
<name>freku045@student.liu.se</name>
<email>freku045@student.liu.se</email>
</author>
<published>2005-12-13T22:30:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=806f36d4d7caf75b6d3e098cb0353d85d3477c7d'/>
<id>urn:sha1:806f36d4d7caf75b6d3e098cb0353d85d3477c7d</id>
<content type='text'>
Signed-off-by: Fredrik Kuivinen &lt;freku045@student.liu.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-sh-setup: die if outside git repository.</title>
<updated>2005-11-25T21:49:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-24T08:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ae2b0f15180d4b044828c836bcab6a990efa5c8e'/>
<id>urn:sha1:ae2b0f15180d4b044828c836bcab6a990efa5c8e</id>
<content type='text'>
Now all the users of this script detect its exit status and die,
complaining that it is outside git repository.  So move the code
that dies from all callers to git-sh-setup script.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Make git-recursive the default strategy for git-pull.</title>
<updated>2005-11-10T02:56:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-08T10:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a1c292958f9968565f4048a17196d99fd16fc7ca'/>
<id>urn:sha1:a1c292958f9968565f4048a17196d99fd16fc7ca</id>
<content type='text'>
This does two things:

 - It changes the hardcoded default merge strategy for two-head
   git-pull from resolve to recursive.

 - .git/config file acquires two configuration items.
   pull.twohead names the strategy for two-head case, and
   pull.octopus names the strategy for octopus merge.

IOW you are paranoid, you can have the following lines in your
.git/config file and keep using git-merge-resolve when pulling
one remote:

	[pull]
		twohead = resolve

OTOH, you can say this:

	[pull]
		twohead = resolve
		twohead = recursive

to try quicker resolve first, and when it fails, fall back to
recursive.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Recover dropped +x bit from git-pull.sh by accident.</title>
<updated>2005-11-07T20:52:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-07T20:52:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=31b9755a655aa34373d8b39030e9a0f46ffa0078'/>
<id>urn:sha1:31b9755a655aa34373d8b39030e9a0f46ffa0078</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Refactored merge options into separate merge-options.txt.</title>
<updated>2005-11-07T07:32:04Z</updated>
<author>
<name>Jon Loeliger</name>
<email>jdl@freescale.com</email>
</author>
<published>2005-11-07T05:30:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=93d69d86912c44206543f6670e93f9fc6f2f859f'/>
<id>urn:sha1:93d69d86912c44206543f6670e93f9fc6f2f859f</id>
<content type='text'>
Refactored fetch options into separate fetch-options.txt.
Made git-merge use merge-options.
Made git-fetch use fetch-options.
Made git-pull use merge-options and fetch-options.
Added --help option to git-pull and git-format-patch scripts.
Rewrote Documentation/Makefile to dynamically determine
include dependencies.

Signed-off-by: Jon Loeliger &lt;jdl@freescale.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Document the --no-commit flag better</title>
<updated>2005-11-05T02:17:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-05T02:17:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d8ae1d10cd08ff1f0b749222d083446ef7bd8f3f'/>
<id>urn:sha1:d8ae1d10cd08ff1f0b749222d083446ef7bd8f3f</id>
<content type='text'>
Pasky and I did overlapping documentation independently; this is to
pick up better wordings from what he sent me.

Signed-off-by: Petr Baudis &lt;pasky@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Add --no-commit to git-merge/git-pull.</title>
<updated>2005-11-03T22:55:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-02T03:30:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=123ee3ca7b57c32bb3ecd8cfede20dbb9dd5a8a8'/>
<id>urn:sha1:123ee3ca7b57c32bb3ecd8cfede20dbb9dd5a8a8</id>
<content type='text'>
With --no-commit flag, git-pull will perform the merge but pretends as
if the merge needed a hand resolve even if automerge cleanly resolves,
to give the user a chance to add further changes and edit the commit
message.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-pull: do not barf on -a flag meant for git-fetch.</title>
<updated>2005-10-03T22:45:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-03T22:45:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=619e5a0ed4a53653085961b7aefe1f93ed879949'/>
<id>urn:sha1:619e5a0ed4a53653085961b7aefe1f93ed879949</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Use git-merge in git-pull (second try).</title>
<updated>2005-09-29T07:24:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-26T02:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=60fb5b2c4d9e26204f480f8a18ae1ff0051a6440'/>
<id>urn:sha1:60fb5b2c4d9e26204f480f8a18ae1ff0051a6440</id>
<content type='text'>
This again makes git-pull to use git-merge, so that different merge
strategy can be specified from the command line.  Without explicit
strategy parameter, it defaults to git-merge-resolve if only one
remote is pulled, and git-merge-octopus otherwise, to keep the
default behaviour of the command the same as the original.

Also this brings another usability measure: -n flag from the command
line, if given, is passed to git-merge to prevent it from running the
diffstat at the end of the merge.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
