git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Baudis <pasky@ucw.cz>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Andrew Morton <akpm@osdl.org>, git@vger.kernel.org
Subject: Re: I'm missing isofs.h
Date: Thu, 28 Apr 2005 02:32:47 +0200	[thread overview]
Message-ID: <20050428003246.GV22956@pasky.ji.cz> (raw)
In-Reply-To: <Pine.LNX.4.58.0504271708550.18901@ppc970.osdl.org>

Dear diary, on Thu, Apr 28, 2005 at 02:19:07AM CEST, I got a letter
where Linus Torvalds <torvalds@osdl.org> told me that...
> And to get the difference between an old tree and the current working 
> tree, you should just need to do
> 
> 	diff-cache -r -z $tree
> 
> and you're done.
> 
> In other words, that temporary index file really isn't needed in the 
> "diff-cache" world. It can diff the current index against _any_ old tree.

Oops, you are of course right. This was a stupid leftover from the
pre-diff-cache days, and since then I never looked at this code from
sufficient distance to see it. ;-)

> And together with Junio's stuff from today, you can literally just do
> 
> 	diff-cache -p $tree
> 
> and you're done - it diffs any release "$tree" against the current state.

Actually, I can't; the patch generator is not on par with mine yet.
It does not show modes and does not indicate file adds/removals by
/dev/null - basically, I need something cg-patch can eat (and it should
be backwards compatible). I think throwing the sha1 hashes away will not
harm; I got used to the Index: field and === marker, but I don't care if
I loose it.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor

  reply	other threads:[~2005-04-28  0:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27  4:43 I'm missing isofs.h Andrew Morton
2005-04-27 12:58 ` Jan Harkes
2005-04-27 13:58   ` Petr Baudis
2005-04-27 16:43     ` Jan Harkes
2005-04-27 16:45       ` Jan Harkes
2005-04-27 15:31 ` Steven Cole
2005-04-27 17:40   ` Steven Cole
2005-04-27 23:51 ` Petr Baudis
2005-04-28  0:19   ` Linus Torvalds
2005-04-28  0:32     ` Petr Baudis [this message]
2005-04-28  2:02       ` Junio C Hamano
2005-04-28  5:27       ` Junio C Hamano
2005-04-28  6:28         ` [PATCH] Make diff-cache and friends output more cg-patch friendly Junio C Hamano
2005-04-28  7:52         ` I'm missing isofs.h Petr Baudis
2005-04-28 23:39           ` David A. Wheeler
2005-04-28 14:42         ` Linus Torvalds
2005-04-28 16:11           ` Junio C Hamano
2005-04-28 16:28             ` Linus Torvalds
2005-04-28  0:32   ` Cogito nit: cg-update should default to "origin" David A. Wheeler
2005-04-28  0:53     ` Petr Baudis
2005-04-28  1:52       ` Dan Holmsand
2005-04-28  3:57       ` David A. Wheeler
2005-04-28  8:22         ` Dan Holmsand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050428003246.GV22956@pasky.ji.cz \
    --to=pasky@ucw.cz \
    --cc=akpm@osdl.org \
    --cc=git@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).