<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-am.sh, branch v1.4.4.4</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.4.4.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.4.4.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2006-09-16T09:23:04Z</updated>
<entry>
<title>Fix git-am safety checks</title>
<updated>2006-09-16T09:23:04Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-09-16T06:19:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c95b138985186992b222321f332cf92edbbd4141'/>
<id>urn:sha1:c95b138985186992b222321f332cf92edbbd4141</id>
<content type='text'>
An earlier commit cbd64af added a check that prevents "git-am"
to run without its standard input connected to a terminal while
resuming operation.  This was to catch a user error to try
feeding a new patch from its standard input while recovery.

The assumption of the check was that it is an indication that a
new patch is being fed if the standard input is not connected to
a terminal.  It is however not quite correct (the standard input
can be /dev/null if the user knows the operation does not need
any input, for example).  This broke t3403 when the test was run
with its standard input connected to /dev/null.

When git-am is given an explicit command such as --skip, there
is no reason to insist that the standard input is a terminal; we
are not going to read a new patch anyway.

Credit goes to Gerrit Pape for noticing and reporting the
problem with t3403-rebase-skip test.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-am: give better diagnostics when the patch does not apply during --3way</title>
<updated>2006-08-13T00:08:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-08-12T23:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=fd7bcfb524a3313ef5361bdd8493ba50635f50f0'/>
<id>urn:sha1:fd7bcfb524a3313ef5361bdd8493ba50635f50f0</id>
<content type='text'>
If the user tries to apply a patch that was hand-edited in such
a way that it does not apply to the original file recorded on
its "index" line anymore, we did detect the situation but did
not issue an error message that is specific enough.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-am: Don't accept an mbox on stdin of we already have a .dotest directory</title>
<updated>2006-07-24T06:58:40Z</updated>
<author>
<name>Lukas Sandström</name>
<email>lukass@etek.chalmers.se</email>
</author>
<published>2006-07-19T20:28:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=cbd64afbb3b1ad5433585ac71d94bd0c63270e38'/>
<id>urn:sha1:cbd64afbb3b1ad5433585ac71d94bd0c63270e38</id>
<content type='text'>
It makes no sense to accept an mbox via stdin when we
won't accept it on the commandline.

The patch helps the following scenario:

# git init-db
"add file1 with content"
# git checkout -b apply
"edit file1 &amp;&amp; commit"

# git checkout -b conflict master
"edit file1 &amp;&amp; commit"

# git checkout -b ok master
"add file2"

# git checkout apply
# git format-patch -k -3 master..conflict | git am -k -3
=&gt; git-am fails with a conflict message
# git reset --hard

# git format-patch -k -3 master..ok | git am -k -3
=&gt; git am fails with the same conflict message as above,
=&gt; since it's trying to apply the old .dotest directory

With the patch it complains about an old .dotest
directory instead.

Signed-off-by: Lukas Sandström &lt;lukass@etek.chalmers.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Record rebase changes as 'rebase' in the reflog.</title>
<updated>2006-07-14T06:08:24Z</updated>
<author>
<name>Shawn Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2006-07-14T04:47:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8ef1c7c77d3e5950a839d9ae348827fa288a9a11'/>
<id>urn:sha1:8ef1c7c77d3e5950a839d9ae348827fa288a9a11</id>
<content type='text'>
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix more typos, primarily in the code</title>
<updated>2006-07-10T07:36:44Z</updated>
<author>
<name>Pavel Roskin</name>
<email>proski@gnu.org</email>
</author>
<published>2006-07-10T05:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=82e5a82fd73edb80a841f5fab1660e14b9b8f3ad'/>
<id>urn:sha1:82e5a82fd73edb80a841f5fab1660e14b9b8f3ad</id>
<content type='text'>
The only visible change is that git-blame doesn't understand
"--compability" anymore, but it does accept "--compatibility" instead,
which is already documented.

Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix expr usage for FreeBSD</title>
<updated>2006-06-27T17:56:05Z</updated>
<author>
<name>Dennis Stosberg</name>
<email>dennis@stosberg.net</email>
</author>
<published>2006-06-27T16:54:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8096fae7269e7b3882394100151bc017446b01a1'/>
<id>urn:sha1:8096fae7269e7b3882394100151bc017446b01a1</id>
<content type='text'>
Some implementations of "expr" (e.g. FreeBSD's) fail, if an
argument starts with a dash.

Signed-off-by: Dennis Stosberg &lt;dennis@stosberg.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'sp/reflog' into next</title>
<updated>2006-05-23T22:07:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-05-23T22:07:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=dcaad49c928f047d5ffa1c5a1753aff6e87f16b5'/>
<id>urn:sha1:dcaad49c928f047d5ffa1c5a1753aff6e87f16b5</id>
<content type='text'>
* sp/reflog:
  Enable ref log creation in git checkout -b.
  Create/delete branch ref logs.
  Include ref log detail in commit, reset, etc.
  Change order of -m option to update-ref.
  Correct force_write bug in refs.c
  Change 'master@noon' syntax to 'master@{noon}'.
  Log ref updates made by fetch.
  Force writing ref if it doesn't exist.
  Added logs/ directory to repository layout.
  General ref log reading improvements.
  Fix ref log parsing so it works properly.
  Support 'master@2 hours ago' syntax
  Log ref updates to logs/refs/&lt;ref&gt;
  Convert update-ref to use ref_lock API.
  Improve abstraction of ref lock/write.
</content>
</entry>
<entry>
<title>Include ref log detail in commit, reset, etc.</title>
<updated>2006-05-19T22:03:21Z</updated>
<author>
<name>Shawn Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2006-05-19T09:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=67644a4d77f55cd1c960d046079d26719f1e7cd6'/>
<id>urn:sha1:67644a4d77f55cd1c960d046079d26719f1e7cd6</id>
<content type='text'>
When updating a ref at the direction of the user include a reason why
head was changed as part of the ref log (assuming it was enabled).

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/apply' into next</title>
<updated>2006-05-16T00:58:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-05-16T00:58:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4cb0e688d8d42c9291ff517328e541bc176b82a9'/>
<id>urn:sha1:4cb0e688d8d42c9291ff517328e541bc176b82a9</id>
<content type='text'>
* jc/apply:
  git-am: use apply --cached
  apply --cached: apply a patch without using working tree.
</content>
</entry>
<entry>
<title>git-am: use apply --cached</title>
<updated>2006-05-16T00:57:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-05-16T00:25:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b7627278e200d8a80df6ee437b1a01d88f2b4883'/>
<id>urn:sha1:b7627278e200d8a80df6ee437b1a01d88f2b4883</id>
<content type='text'>
Now 'git apply' can apply patch without working tree, preparation
of pristine preimage and postimage trees that are done when falling
back on 3-way merge by "git am" can do so without temporary files.

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