git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Get commits from remote repositories by HTTP

From
Petr Baudis <pasky@ucw.cz>
Date
Apr 18, 2005, 18:47 UTC
Message-ID
<20050418184750.GD5554@pasky.ji.cz>
In-Reply-To
<200504181841.j3IIfgP31258@unix-os.sc.intel.com>

Dear diary, on Mon, Apr 18, 2005 at 08:41:42PM CEST, I got a letter where tony.luck@intel.com told me that...

Show 14 quoted lines
> >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.

...and this is precisely why ls-tree actually outputs those "blob" and "tree" tags. ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Previous: tony.luck@intel.comNext: tony.luck@intel.com
Message 11 of 14 in “Get commits from remote repositories by HTTP”
  1. Get commits from remote repositories by HTTPDaniel Barkalow, Apr 16, 2005
  2. Martin MaresApr 16, 2005
  3. Daniel BarkalowApr 16, 2005
  4. Tony LuckApr 16, 2005
  5. Daniel BarkalowApr 16, 2005
  6. Adam KropelinApr 16, 2005
  7. Daniel BarkalowApr 16, 2005
  8. Adam KropelinApr 16, 2005
  9. tony.luck@intel.comApr 17, 2005
  10. tony.luck@intel.comApr 18, 2005
  11. Petr BaudisApr 18, 2005
  12. tony.luck@intel.comApr 18, 2005
  13. Jan-Benedict GlawApr 16, 2005
  14. Daniel BarkalowApr 16, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.