Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git-diff new files (without using index)

From: Miles Bader <hidden>
Date: 2016-06-15 22:43:26

Junio C Hamano [off-list ref] 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]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help