login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Shawn O. Pearce <spearce@...>
Cc: Miles Bader <miles@...>, <git@...>
Date: Sunday, August 5, 2007 - 12:20 am

"Shawn O. Pearce" <spearce@spearce.org> writes:


I suspect that it's probably half superstition and half disease
to wish for "diff /dev/null new-file".  Even CVS got this one
right by saying "is a new file, no diff available".  The
contents of that new file is available in "less new-file" near
you anyway and it is quite pointless while you are working
toward next commit.  It just is not interesting, until you tell
git you _care_ about that file.  And the way you tell git about
it is with "git add".

Learn to love the index, run "git-add" and view "git-diff HEAD".


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-diff new files (without using index), Miles Bader, (Sat Aug 4, 11:42 pm)
Re: git-diff new files (without using index), Shawn O. Pearce, (Sat Aug 4, 11:52 pm)
Re: git-diff new files (without using index), Miles Bader, (Sun Aug 5, 12:00 am)
Re: git-diff new files (without using index), Shawn O. Pearce, (Sun Aug 5, 12:08 am)
Re: git-diff new files (without using index), Junio C Hamano, (Sun Aug 5, 12:20 am)
Re: git-diff new files (without using index), Miles Bader, (Sun Aug 5, 12:37 am)
speck-geostationary