<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-diff-files.txt, 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-01-28T10:26:30Z</updated>
<entry>
<title>Documentation: diff -c/--cc</title>
<updated>2006-01-28T10:26:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-28T10:19:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=34801cab72e8262d2585f72f15b62a397f0c6c1a'/>
<id>urn:sha1:34801cab72e8262d2585f72f15b62a397f0c6c1a</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff-files: show diffs with stage0 and unmerged stage at the same time.</title>
<updated>2005-11-30T10:17:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-30T10:16:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=15bf57a18aaf10c038e2026dfe54281edbb6080a'/>
<id>urn:sha1:15bf57a18aaf10c038e2026dfe54281edbb6080a</id>
<content type='text'>
After thinking about it more, I realized that much of the change
I did on top of Linus' version does not make much sense.  This
commit reverts it so that it by default shows diffs with stage0
paths or stage2 paths with working tree; the unmerged stage to
use can be overridden with -1/-2/-3 option (-2 is the default so
essentially is a no-op).

When the index file is unmerged, we are by definition in the
middle of a conflicting merge, and we should show the diff with
stage 2 by default.  More importantly, paths without conflicts
are updated in the working tree and collapsed to stage0 in the
index, so showing diff with stage0 at the same time does not
hurt.  In normal cases, stage0 entries should be in sync with
the working tree files and does not clutter the output.  It even
helps the user to realize that the working tree has local
changes unrelated to the merge and remember to be careful not to
do a "git-commit -a" after resolving the conflicts.

When there is no unmerged entries, giving diff_unmerged_stage a
default value of 2 does not cause any harm, because it would not
be used anyway.  So in all, always showing diff between stage0
paths and unmerged entries from a stage (defaulting to 2) is the
right thing to do, as Linus originally did.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff-files: -1/-2/-3 to diff against unmerged stage.</title>
<updated>2005-11-30T08:14:18Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-11-30T05:06:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=10637b84d91cf8870d1db8609a10dc5e58722378'/>
<id>urn:sha1:10637b84d91cf8870d1db8609a10dc5e58722378</id>
<content type='text'>
While resolving conflicted merge, it was not easy to compare the
working tree file with unmerged index entries.  This commit
introduces new options -1/-2/-3 (with synonyms --base, --ours,
and --theirs) to compare working tree files with specified
stages.

When none of these options are given, the command defaults to -2
if the index file is unmerged, otherwise it acts as before.

[jc: majorly butchered from the version Linus originally posted.]

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Change 'cache' to 'index' in the docs</title>
<updated>2005-11-11T23:12:29Z</updated>
<author>
<name>Lukas_Sandström</name>
<email>lukass@etek.chalmers.se</email>
</author>
<published>2005-11-11T01:12:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5f3aa197ac03eabbc45046cd3b9dbcfbda0426d9'/>
<id>urn:sha1:5f3aa197ac03eabbc45046cd3b9dbcfbda0426d9</id>
<content type='text'>
This patch makes the documentation refer to the index
as index instead of cache, but some references still
remain. (e.g. git-update-index.txt)

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>Remove the version tags from the manpages</title>
<updated>2005-10-10T21:49:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-10-10T21:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=98438bd0e893c23186fb82ea8b04964c0f1ef9d1'/>
<id>urn:sha1:98438bd0e893c23186fb82ea8b04964c0f1ef9d1</id>
<content type='text'>
Signed-off-by: Christian Meder &lt;chris@absolutegiganten.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Documentation: Update all files to use the new gitlink: macro</title>
<updated>2005-09-20T22:07:52Z</updated>
<author>
<name>Sergey Vlasov</name>
<email>vsu@altlinux.ru</email>
</author>
<published>2005-09-19T10:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a7154e916c6fab01dfb67629dae8c4430daff669'/>
<id>urn:sha1:a7154e916c6fab01dfb67629dae8c4430daff669</id>
<content type='text'>
The replacement was performed automatically by these commands:

	perl -pi -e 's/link:(git.+)\.html\[\1\]/gitlink:$1\[1\]/g' \
		README Documentation/*.txt
	perl -pi -e 's/link:git\.html\[git\]/gitlink:git\[7\]/g' \
		README Documentation/*.txt

Signed-off-by: Sergey Vlasov &lt;vsu@altlinux.ru&gt;
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>
<entry>
<title>[PATCH] Clean up diff option descriptions.</title>
<updated>2005-07-13T20:09:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-07-13T19:52:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dda2d79af2d2858b37bab7f6e088d0730c0959d1'/>
<id>urn:sha1:dda2d79af2d2858b37bab7f6e088d0730c0959d1</id>
<content type='text'>
I got tired of maintaining almost duplicated descriptions in
diff-* brothers, both in usage string and documentation.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Update diff documentation.</title>
<updated>2005-06-20T03:13:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-19T20:14:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=232b75ab3d60475b19270be022a966772c25c84b'/>
<id>urn:sha1:232b75ab3d60475b19270be022a966772c25c84b</id>
<content type='text'>
This updates diff documentation to discuss --find-copies-harder,
and adds descriptions for options that were not described
earlier.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] diff: Fix docs and add -O to diff-helper.</title>
<updated>2005-06-03T18:23:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-06-03T08:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ce24067549a8554b214e723d7aa4bc063c54409e'/>
<id>urn:sha1:ce24067549a8554b214e723d7aa4bc063c54409e</id>
<content type='text'>
This patch updates diff documentation and usage strings:

 - clarify the semantics of -R.  It is not "output in reverse";
   rather, it is "I will feed diff backwards".  Semantically
   they are different when -C is involved.

 - describe -O in usage strings of diff-* brothers.  It was
   implemented, documented but not described in usage text.

Also it adds -O to diff-helper.  Like -S (and unlike -M/-C/-B),
this option can work on sanitized diff-raw output produced by
the diff-* brothers.  While we are at it, the call it makes to
diffcore is cleaned up to use the diffcore_std() like everybody
else, and the declaration for the low level diffcore routines
are moved from diff.h (public) to diffcore.h (private between
diff.c and diffcore backends).

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