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

Re: [PATCH 1.2/2 (fixed)] git-svn: fix output reporting from the delta fetcher

From
EWEric Wong <normalperson@yhbt.net>
Date
Nov 28, 2006, 20:16 UTC
Message-ID
<20061128201605.GA1369@localdomain>
In-Reply-To
<m2bqmr1rnw.fsf@ziti.fhcrc.org>
Seth Falcon <sethfalcon@gmail.com> wrote:
Show 20 quoted lines
> Pazu <pazu@pazu.com.br> writes:
> > Notice that there's no "CamelEar" directory. For some reason, it
> > wasn't fetched in the initial revision. Now, just to make sure this
> > isn't svn fault:
> >
> > mini:~/devel/camel-git pazu$ svn ls -r11143
> > https://tech.bga.bunge.com/BungeHomeExt/GLS/trunk/java/bg-cam
> > .cvsignore
> > BungeIntegrationEar/
> > BungeIntegrationService/
> > BungeIntegrationServiceClient/
> > CamelEar/
> 
> Is CamelEar an empty directory (or was it an empty directory in the
> first fetch) by any chance?
> 
> I think that presently git-svn does not create empty dirs when pulling
> from svn.  It would be nice to have such directories created since
> some projects will expect the empty dir to be there (no need to track
> it in git, IMO).

Git itself cannot easily track empty directories (at least as far as update-index and checkout) goes.

What I *can* do is run mktree and to force the creation of tree objects with a 4b825dc642cb6eb9a060e54bf8d69288fbee4904 (empty) sub tree and run commit-tree on it, but checkout/checkout-index would still need to be modified to support it.

Is that something the git community wants?
Previous: PazuNext: Pazu
Message 8 of 14 in “git-svn: enable delta transfers during fetches when using SVN:: libs”
  1. 1/2 git-svn: enable delta transfers during fetches when using SVN:: libsEric Wong, Nov 28, 2006
  2. 1/2 git-svn: fix output reporting from the delta fetcherEric Wong, Nov 28, 2006
  3. 2/2 git-svn: fix output reporting from the delta fetcherEric Wong, Nov 28, 2006
  4. PazuNov 28, 2006
  5. PazuNov 28, 2006
  6. Seth FalconNov 28, 2006
  7. PazuNov 28, 2006
  8. Eric WongNov 28, 2006
  9. PazuNov 28, 2006
  10. Eric WongNov 28, 2006
  11. git-svn and empty directories in svn (was: [PATCH 1.2/2 (fixed)] git-svn: fix output reporting from the delta fetcher)Seth Falcon, Nov 29, 2006
  12. Eric WongDec 3, 2006
  13. Steven GrimmDec 3, 2006
  14. Eric WongDec 4, 2006

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.