<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/diff.h, branch v1.5.0.7</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v1.5.0.7</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v1.5.0.7'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2007-02-05T22:55:11Z</updated>
<entry>
<title>git-blame: no rev means start from the working tree file.</title>
<updated>2007-02-05T22:55:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-30T09:11:08Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=1cfe77333f274c9ba9879c2eb61057a790eb050f'/>
<id>urn:sha1:1cfe77333f274c9ba9879c2eb61057a790eb050f</id>
<content type='text'>
Warning: this changes the semantics.

This makes "git blame" without any positive rev to start digging
from the working tree copy, which is made into a fake commit
whose sole parent is the HEAD.

It also adds --contents &lt;file&gt; option to pretend as if the
working tree copy has the contents of the named file.  You can
use '-' to make the command read from the standard input.

If you want the command to start annotating from the HEAD
commit, you need to explicitly give HEAD parameter.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff-index --cached --raw: show tree entry on the LHS for unmerged entries.</title>
<updated>2007-01-07T06:57:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-05T09:25:18Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e9c8409900fc84cd7721117c98dfe01acd535aa2'/>
<id>urn:sha1:e9c8409900fc84cd7721117c98dfe01acd535aa2</id>
<content type='text'>
This updates the way diffcore represents an unmerged pair
somewhat.  It used to be that entries with mode=0 on both sides
were used to represent an unmerged pair, but now it has an
explicit flag.  This is to allow diff-index --cached to report
the entry from the tree when the path is unmerged in the index.

This is used in updating "git reset &lt;tree&gt; -- &lt;path&gt;" to restore
absense of the path in the index from the tree.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>make commit message a little more consistent and conforting</title>
<updated>2006-12-16T06:29:54Z</updated>
<author>
<name>Nicolas Pitre</name>
<email>nico@cam.org</email>
</author>
<published>2006-12-15T04:15:44Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=ebd124c6783da5e064963611ee17741cd173f6b5'/>
<id>urn:sha1:ebd124c6783da5e064963611ee17741cd173f6b5</id>
<content type='text'>
It is nicer to let the user know when a commit succeeded all the time,
not only the first time.  Also the commit sha1 is much more useful than
the tree sha1 in this case.

This patch also introduces a -q switch to supress this message as well
as the summary of created/deleted files.

Signed-off-by: Nicolas Pitre &lt;nico@cam.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/pickaxe'</title>
<updated>2006-11-08T00:33:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-11-08T00:33:59Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=24ad8e0ce23d08d28a5d664ab6164b10125146ce'/>
<id>urn:sha1:24ad8e0ce23d08d28a5d664ab6164b10125146ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>git-pickaxe: rename detection optimization</title>
<updated>2006-11-04T20:18:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-11-02T08:02:11Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=2f3f8b218abae6fc0574d0e22d3614fc0f5e983d'/>
<id>urn:sha1:2f3f8b218abae6fc0574d0e22d3614fc0f5e983d</id>
<content type='text'>
The idea is that we are interested in renaming into only one path, so
we do not care about renames that happen elsewhere.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Make git-cherry handle root trees</title>
<updated>2006-10-27T01:31:17Z</updated>
<author>
<name>Rene Scharfe</name>
<email>rene.scharfe@lsrfire.ath.cx</email>
</author>
<published>2006-10-26T16:52:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=2b60356da5369dd60ab26eabaa91d95b6badf209'/>
<id>urn:sha1:2b60356da5369dd60ab26eabaa91d95b6badf209</id>
<content type='text'>
This patch on top of 'next' makes built-in git-cherry handle root
commits.

It moves the static function log-tree.c::diff_root_tree() to
tree-diff.c and makes it more similar to diff_tree_sha1() by
shuffling around arguments and factoring out the call to
log_tree_diff_flush().  Consequently the name is changed to
diff_root_tree_sha1().  It is a version of diff_tree_sha1() that
compares the empty tree (= root tree) against a single 'real' tree.

This function is then used in get_patch_id() to compute patch IDs
for initial commits instead of SEGFAULTing, as the current code
does if confronted with parentless commits.

Signed-off-by: Rene Scharfe &lt;rene.scharfe@lsrfire.ath.cx&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff --numstat</title>
<updated>2006-10-14T04:37:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-10-12T10:01:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=74e2abe5b70aadf06984472ba9aa9a29900040e6'/>
<id>urn:sha1:74e2abe5b70aadf06984472ba9aa9a29900040e6</id>
<content type='text'>
[jc: with documentation from Jakub]

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/diff-stat'</title>
<updated>2006-10-01T04:29:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-10-01T04:29:18Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=dd0c367e5e1358539bdd11c3a474bb6792504d30'/>
<id>urn:sha1:dd0c367e5e1358539bdd11c3a474bb6792504d30</id>
<content type='text'>
* jc/diff-stat:
  diff --stat: ensure at least one '-' for deletions, and one '+' for additions
  diff --stat=width[,name-width]: allow custom diffstat output width.
  diff --stat: color output.
  diff --stat: allow custom diffstat output width.
</content>
</entry>
<entry>
<title>diff --stat: allow custom diffstat output width.</title>
<updated>2006-09-27T09:55:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-09-27T01:53:02Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=a2540023dcf833ca02d87c28052e8b7135d56b60'/>
<id>urn:sha1:a2540023dcf833ca02d87c28052e8b7135d56b60</id>
<content type='text'>
This adds two parameters to "diff --stat".

 . --stat-width=72 tells that the page should fit on 72-column output.

 . --stat-name-width=30 tells that the filename part is limited
   to 30 columns.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff.c: second war on whitespace.</title>
<updated>2006-09-24T07:12:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-09-23T05:48:39Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=448c3ef144b2f528bb6dc50153ac13cc2abbc3c4'/>
<id>urn:sha1:448c3ef144b2f528bb6dc50153ac13cc2abbc3c4</id>
<content type='text'>
This adds DIFF_WHITESPACE color class (default = reverse red) to
colored diff output to let you catch common whitespace errors.

 - trailing whitespaces at the end of line
 - a space followed by a tab in the indent

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