<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-applypatch.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>2005-12-15T21:03:20Z</updated>
<entry>
<title>applymbox: typofix</title>
<updated>2005-12-15T21:03:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-15T21:02:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c6f60f991f29ce1140b9dede1185562fbffe2549'/>
<id>urn:sha1:c6f60f991f29ce1140b9dede1185562fbffe2549</id>
<content type='text'>
Sorry, I broke this command completely with the stupid typo.

Noticed by Marco Costalba.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>applypatch: no need to do non-portable [[ ... ]]</title>
<updated>2005-12-14T10:53:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-14T02:19:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5073eb04d6f0e8ac2578140b9231817e2afefe50'/>
<id>urn:sha1:5073eb04d6f0e8ac2578140b9231817e2afefe50</id>
<content type='text'>
... when old, proven, case would do.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-applypatch: Usage string clean-up, emit usage string at incorrect invocation</title>
<updated>2005-12-14T10:53:44Z</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=6cf6193b458a5791dba993a81d3bb77f4dc030ac'/>
<id>urn:sha1:6cf6193b458a5791dba993a81d3bb77f4dc030ac</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>Use printf rather than echo -n.</title>
<updated>2005-12-07T02:09:12Z</updated>
<author>
<name>Jason Riedy</name>
<email>ejr@EECS.Berkeley.EDU</email>
</author>
<published>2005-12-06T22:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9754563ca9a99bc0fe233f43202af15704fbed4d'/>
<id>urn:sha1:9754563ca9a99bc0fe233f43202af15704fbed4d</id>
<content type='text'>
On AIX, there is no -n option to the system's echo.  Instead,
it needs the '\c' control character.  We could replace
  echo -n "foo"
with
  echo -e "foo\c"
but printf is recommended by most man pages.  Tested on AIX
5.3, Solaris 8, and Debian.

[jc: futureproofed two instances that uses variable with '%s'
 so later feeding different messages would not break things too
 easily; others are emitting literal so whoever changes the
 literal ought to notice more easily so they are safe.]

Signed-off-by: E. Jason Riedy &lt;ejr@cs.berkeley.edu&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>applypatch: use "index" lines not "applies-to".</title>
<updated>2005-11-29T22:18:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-29T21:53:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bf3e274873e56d7df25d60800c8d59a309e0d8c6'/>
<id>urn:sha1:bf3e274873e56d7df25d60800c8d59a309e0d8c6</id>
<content type='text'>
This matches the 3-way fallback used by applypatch to use
per-blob "index" lines, not "applies-to" tree object name, to
match what git-am does.

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>Fall back to three-way merge when applying a patch.</title>
<updated>2005-10-06T21:25:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-06T21:25:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=47f0b6d5d49247b85898083d1ccf4f899ef7294a'/>
<id>urn:sha1:47f0b6d5d49247b85898083d1ccf4f899ef7294a</id>
<content type='text'>
After git-apply fails, attempt to find a base tree that the patch
cleanly applies to, and do a three-way merge using that base tree into
the current index, if .dotest/.3way file exists.  This flag can be
controlled by giving -m flag to git-applymbox command.

When the fall-back merge fails, the working tree can be resolved the
same way as you would normally hand resolve a conflicting merge.
When making commit, use .dotest/final-commit as the log message
template.  Or you could just choose to 'git-checkout-index -f -a'
to revert the failed merge.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-applypatch: cleanup.</title>
<updated>2005-10-05T00:04:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-04T08:11:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a567d3154ec05dd991abf50389eacc36bfc25965'/>
<id>urn:sha1:a567d3154ec05dd991abf50389eacc36bfc25965</id>
<content type='text'>
 - Defined variable $INFO was not used properly.
 - Make sure there is an empty line between the sign-off and the
   log message.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Use git-update-ref in scripts.</title>
<updated>2005-09-28T23:42:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-28T01:14:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bf7960eb51a26bcf52f27a60bfcf005661266b1e'/>
<id>urn:sha1:bf7960eb51a26bcf52f27a60bfcf005661266b1e</id>
<content type='text'>
This uses the git-update-ref command in scripts for safer updates.
Also places where we used to read HEAD ref by using "cat" were fixed
to use git-rev-parse.  This will matter when we start using symbolic
references.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Big tool rename.</title>
<updated>2005-09-08T00:45:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-08T00:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7'/>
<id>urn:sha1:215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7</id>
<content type='text'>
As promised, this is the "big tool rename" patch.  The primary differences
since 0.99.6 are:

  (1) git-*-script are no more.  The commands installed do not
      have any such suffix so users do not have to remember if
      something is implemented as a shell script or not.

  (2) Many command names with 'cache' in them are renamed with
      'index' if that is what they mean.

There are backward compatibility symblic links so that you and
Porcelains can keep using the old names, but the backward
compatibility support  is expected to be removed in the near
future.

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