lkml.org 
[lkml]   [2005]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [ANNOUNCE] git-pasky-0.3
    From
    Date
    On Mon, 2005-04-11 at 15:57 +0200, Petr Baudis wrote:
    > Hello,
    >
    > here goes git-pasky-0.3, my set of patches and scripts upon
    > Linus' git, aimed at human usability and to an extent a SCM-like
    > usage.

    Untar, make, add to path, pull, 'git diff' fails on PPC:

    peach /home/dwmw2/git-pasky-base $ git diff
    error: bad signature
    error: verify header failed
    read_cache: Invalid argument

    A little extra debugging shows the problem:

    error: bad signature 0x43524944 should be 0x44495243

    The cache.h header file suggests that the cache is host-endian on
    purpose, because it's local-only. So why am I seeing a cache from
    another host? Is that comment no longer true?

    Either way, the original decision is probably bogus -- with trees as
    large as the kernel tree it makes a lot of sense to keep them somewhere
    NFS-accessible and use them from different hosts, and byteswapping
    really isn't going to slow it down that much. We should just pick an
    endianness and stick to it.

    I'd suggest making it big-endian to make sure the LE weenies don't
    forget to byteswap properly.

    --
    dwmw2

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-04-12 15:21    [W:3.866 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site