Re: Kernel headers git tree
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 14, 2006, 00:39 UTC
- Message-ID
- <7v4pxlt3xg.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <1152835150.31372.23.camel@shinybook.infradead.org>
David Woodhouse <dwmw2@infradead.org> writes:
> ¹ http://david.woodhou.se/extract-khdrs-git.sh and > http://david.woodhou.se/extract-khdrs-stage2.sh for the stout of stomach
With modern enough git, you can rewrite
KBUILDSHA=`git ls-tree $TREE -- Kbuild | cut -f3 -d\ | cut -f1`
with
KBUILDSHA1=`git rev-parse $TREE:Kbuild`
I am not sure what function incparent() is trying to do with this:
git rev-list --max-count=1 --topo-order $1 -- .