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

Git clone behaviour change in 1.5.6 (vs 1.5.5.1)

From
KVKalle Vahlman <kalle.vahlman@gmail.com>
Date
Jun 23, 2008, 19:51 UTC
Message-ID
<177e83dd0806231251u223717e4s2149f69313787ead@mail.gmail.com>
Hi!

Switching to the 1.5.6 release from 1.5.5.1, I found out that the rewritten git-clone command changed its behaviour wrt cloning to a non-existing destination directory structure. In the shell version the destination (work tree) is created with 'mkdir -p' but in the C version with just the mkdir() call which doesn't create the parent directories.

I can't find any indication that this would be intended in the repo history nor in the mailing list, so I'm left thinking that this is an unwanted regression. Could someone confirm this?

-- 
Kalle Vahlman, zuh@iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
Next: Daniel Barkalow
Message 1 of 10 in “Git clone behaviour change in 1.5.6 (vs 1.5.5.1)”
  1. Kalle VahlmanJun 23, 2008
  2. Daniel BarkalowJun 23, 2008
  3. Jeff KingJun 23, 2008
  4. Brandon CaseyJun 23, 2008
  5. clone: create intermediate directories of destination repoJeff King, Jun 24, 2008
  6. Junio C HamanoJun 24, 2008
  7. Jeff KingJun 24, 2008
  8. Daniel BarkalowJun 24, 2008
  9. Jeff KingJun 25, 2008
  10. Daniel BarkalowJun 25, 2008

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.