Re: git-diff new files (without using index)
- From
Miles Bader <miles@gnu.org>
- Date
- Aug 5, 2007, 04:37 UTC
- Message-ID
- <87abt6lhq8.fsf@catnip.gol.com>
- In-Reply-To
- <7vd4y2ipd0.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <gitster@pobox.com> writes:
> I suspect that it's probably half superstition and half disease > to wish for "diff /dev/null new-file".
Er, please, a bit of consideration. It's not superstition, it's not a disease.
I _want to use the index_: I want to stage changes, and then make more changes, and just generally be able to treat these three states (HEAD, indexed, non-indexed) as points which can be used as inputs to git-diff -- and I want _applyable patch files_ as the output from git-diff, not pretty diffs for browsing.
Thanks,
-Miles
-- Any man who is a triangle, has thee right, when in Cartesian Space, to have angles, which when summed, come to know more, nor no less, than nine score degrees, should he so wish. [TEMPLE OV THEE LEMUR]