Re: [ANNOUNCE] git-pasky-0.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux