Files
git-mirror/Documentation
Johannes Schindelin d516c2d119 Teach git-diff-files the new option --no-index
With this flag and given two paths, git-diff-files behaves as a GNU diff
lookalike (plus the git goodies like --check, colour, etc.).  This flag
is also available in git-diff.  It also works outside of a git repository.

In addition, if git-diff{,-files} is called without revision or stage
parameter, and with exactly two paths at least one of which is not tracked,
the default is --no-index.

So, you can now say

	git diff /etc/inittab /etc/fstab

and it actually works!

This also unifies the duplicated argument parsing between cmd_diff_files()
and builtin_diff_files().

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2007-02-22 20:59:55 -08:00
..
2007-02-12 19:33:03 -08:00
2007-01-20 19:10:26 -08:00
2005-11-08 08:58:52 -08:00
2006-12-13 09:41:18 -08:00
2007-02-13 22:48:32 -08:00
2007-02-17 16:16:48 -08:00
2007-02-12 19:33:03 -08:00
2007-02-03 21:49:54 -08:00
2007-02-12 19:33:03 -08:00
2006-06-07 11:49:35 -07:00
2007-01-11 12:58:10 -08:00
2007-02-08 15:35:24 -08:00
2007-02-13 19:20:06 -08:00
2007-02-03 21:49:54 -08:00
2007-02-03 21:49:54 -08:00
2007-02-13 16:43:24 -08:00
2007-02-03 21:49:54 -08:00
2006-06-24 01:11:19 -07:00
2007-02-18 16:18:43 -08:00
2007-02-12 19:33:03 -08:00