From: tony.luck@intel.com Date: Mon, 18 Apr 2005 18:41:42 GMT Subject: Re: [PATCH] Get commits from remote repositories by HTTP Message-ID: <200504181841.j3IIfgP31258@unix-os.sc.intel.com> In-Reply-To: <200504170316.j3H3GaZ03333@unix-os.sc.intel.com> >Not a patch ... it is a whole file. I called it "git-wget", but it might >also want to be called "git-pulltop". It's been pointed out to me that I based this script on a pre-historic version of ls-tree from sometime last week. Modern versions print the mode with %06o so there is a leading 0 on the mode for a directory. Just change if [ $mode = 40000 ] to if [ $mode = 040000 ] to fix it. The script might also be useful for anyone behind a firewall that blocks rsync transfers. -Tony