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

Re: Clone fails on a repo with too many heads/tags

From
ITIvan Todoroski <grnch_lists@gmx.net>
Date
Mar 25, 2012, 15:30 UTC
Message-ID
<4F6F39FC.2070801@gmx.net>
In-Reply-To
<20120325010609.GB27651@sigill.intra.peff.net>
On 25.03.2012 03:06, Jeff King wrote:
Show 6 quoted lines
> On Sat, Mar 24, 2012 at 09:49:55PM +0100, Ivan Todoroski wrote:
> 
>> Is it failing for anyone else on the vanilla "maint" branch? I would
>> appreciate any help I could get here.
> 
> No, it passes fine here (Debian unstable).
OK, thanks for checking, it's good to know.
> Does your machine have mod_rewrite installed and enabled? I would think
> apache would complain at startup if it wasn't.  I wonder if there's
> something non-portable in the minimal apache config we ship.

Looks like it comes by default with the RPM. Maybe the Apache version is too old?

$ rpm -q httpd httpd-2.2.3-63.el5.centos.1

$ rpm -ql httpd | grep rewrite /usr/lib64/httpd/modules/mod_rewrite.so

$ ls -l /usr/lib64/httpd/modules/mod_rewrite.so -rwxr-xr-x 1 root root 60384 Feb 23 19:23 /usr/lib64/httpd/modules/mod_rewrite.so

$ ls -l trash\ directory.t5551-http-fetch/httpd/modules/mod_rewrite.so -rwxr-xr-x 1 root root 60384 Feb 23 19:23 trash directory.t5551-http-fetch/httpd/modules/mod_rewrite.so

Also, mod_rewrite is enabled in both the master config file /etc/httpd/conf/httpd.conf, as well as the minimal git/t/lib-httpd/apache.conf.

> Does httpd/error.log in the trash directory say anything interesting?
Nothing, it just gives the startup and shutdown message:

$ cat trash\ directory.t5551-http-fetch/httpd/error.log [Sun Mar 25 15:27:12 2012] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Sun Mar 25 15:27:12 2012] [notice] caught SIGTERM, shutting down

I will try your patch from the other message a bit later and let you know.
Previous: Ivan TodoroskiNext: Ivan Todoroski
Message 26 of 54 in “Clone fails on a repo with too many heads/tags”
  1. Ivan TodoroskiMar 18, 2012
  2. Ivan TodoroskiMar 18, 2012
  3. Nguyen Thai Ngoc DuyMar 18, 2012
  4. Jakub NarebskiMar 18, 2012
  5. Jeff KingMar 18, 2012
  6. Jakub NarebskiMar 18, 2012
  7. Jeff KingMar 19, 2012
  8. Nguyen Thai Ngoc DuyMar 19, 2012
  9. Jeff KingMar 19, 2012
  10. Ivan TodoroskiMar 19, 2012
  11. Nguyen Thai Ngoc DuyMar 19, 2012
  12. Jeff KingMar 19, 2012
  13. Ivan TodoroskiMar 21, 2012
  14. Shawn PearceMar 21, 2012
  15. Jeff KingMar 21, 2012
  16. Jakub NarebskiMar 21, 2012
  17. Ivan TodoroskiMar 21, 2012
  18. Jeff KingMar 21, 2012
  19. Ivan TodoroskiMar 24, 2012
  20. Jeff KingMar 25, 2012
  21. Jeff KingMar 25, 2012
  22. Ivan TodoroskiMar 25, 2012
  23. Ivan TodoroskiMar 25, 2012
  24. Jeff KingMar 26, 2012
  25. Ivan TodoroskiMar 27, 2012
  26. Ivan TodoroskiMar 25, 2012
  27. 1/2 fetch-pack: new option to read refs from stdinIvan Todoroski, Mar 24, 2012
  28. Jeff KingMar 25, 2012
  29. Ivan TodoroskiMar 25, 2012
  30. Ivan TodoroskiMar 25, 2012
  31. Ivan TodoroskiMar 25, 2012
  32. Jeff KingMar 26, 2012
  33. Ivan TodoroskiMar 26, 2012
  34. Jeff KingMar 26, 2012
  35. 2/2 remote-curl: send the refs to fetch-pack on stdinIvan Todoroski, Mar 24, 2012
  36. Jeff KingMar 25, 2012
  37. Ivan TodoroskiMar 25, 2012
  38. Jeff KingMar 26, 2012
  39. 0/4 Fix fetch-pack command line overflow during cloneIvan Todoroski, Mar 27, 2012
  40. 1/4 fetch-pack: new --stdin option to read refs from stdinIvan Todoroski, Mar 27, 2012
  41. Junio C HamanoMar 27, 2012
  42. Ivan TodoroskiMar 27, 2012
  43. Junio C HamanoMar 27, 2012
  44. Ivan TodoroskiMar 27, 2012
  45. 2/4 remote-curl: send the refs to fetch-pack on stdinIvan Todoroski, Mar 27, 2012
  46. Junio C HamanoMar 27, 2012
  47. Ivan TodoroskiMar 27, 2012
  48. 3/4 fetch-pack: test cases for the new --stdin optionIvan Todoroski, Mar 27, 2012
  49. Junio C HamanoMar 27, 2012
  50. Ivan TodoroskiMar 27, 2012
  51. Junio C HamanoMar 27, 2012
  52. Ivan TodoroskiMar 28, 2012
  53. 4/4 remote-curl: main test case for the OS command line overflowIvan Todoroski, Mar 27, 2012
  54. Junio C HamanoMar 27, 2012

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.