[lkml]   [2005]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Kernel SCM saga..
On Sat, 9 Apr 2005 04:53:57 +0200 Petr Baudis wrote:

| Hello,
| Dear diary, on Fri, Apr 08, 2005 at 05:50:21PM CEST, I got a letter
| where Linus Torvalds <> told me that...
| >
| >
| > On Fri, 8 Apr 2005 wrote:
| > >
| > > Here's a partial solution. It does depend on a modified version of
| > > cat-file that behaves like cat. I found it easier to have cat-file
| > > just dump the object indicated on stdout. Trivial patch for that is included.
| >
| > Your trivial patch is trivially incorrect, though. First off, some files
| > may be binary (and definitely are - the "tree" type object contains
| > pathnames, and in order to avoid having to worry about special characters
| > they are NUL-terminated), and your modified "cat-file" breaks that.
| >
| > Secondly, it doesn't check or print the tag.
| FWIW, I made few small fixes (to prevent some trivial usage errors to
| cause cache corruption) and added scripts, and
| - heavily inspired by what already went through the mailing
| list. Everything is available at
| (including .dircache, even though it isn't shown in the index), the
| cumulative patch can be found below. The scripts aim to provide some
| (obviously very interim) more high-level interface for git.
| I'm now working on tree-diff.c which will (surprise!) produce a diff
| of two trees (I'll finish it after I get some sleep, though), and then I
| will probably do some dwimmy wrapper for tree-diff and
| show-diff. At that point I might get my hand on some pull more kind to
| local changes.


I'll look at your scripts this weekend. I've also been
working on some, but mine are a bit more experimental (cruder)
than yours are. Anyway, here they are (attached) -- also
available at

gitin : checkin/commit
gitwhat sha1 : what is that sha1 file (type and contents if blob or commit)
gitlist (blob, commit, tree, or all) :
list all objects with type (commit, tree, blob, or all)

[unhandled content-type:application/octet-stream][unhandled content-type:application/octet-stream][unhandled content-type:application/octet-stream]
 \ /
  Last update: 2005-04-09 09:14    [W:0.177 / U:3.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site