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

Re: [PATCH] git-svn: don't allow globs to match regular files

From
EWEric Wong <normalperson@yhbt.net>
Date
Apr 18, 2007, 07:53 UTC
Message-ID
<20070418075353.GA2758@hand.yhbt.net>
In-Reply-To
<7v3b2yjfcw.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 12 quoted lines
> Eric Wong <normalperson@yhbt.net> writes:
> 
> > git only tracks the histories of full directories, not
> > that of individual files.  Sometimes, SVN users will
> > place[1] a regular file in the directory designated
> > for subdirectories of branches or tags.
> >
> > Thanks to jrockway on #git for pointing this out.
> >
> > [1] mistakenly or otherwise, such as a README
> 
> It is not clear what this "glob" means to me.  Enlightenment?

Basically I can define an [svn-remote] in the config much in the same way that a native git [remote] is defined:

[svn-remote "svn"]
	url = svn://svn.debian.org/svn/pkg-glibc
	branches = glibc-package/branches/*:refs/remotes/*
	tags = glibc-package/tags/*:refs/remotes/tags/*
Show 6 quoted lines
> My cursory reading of the code is that you are grabbing things
> under branches/ and tags/, expecting each of what you would find
> there is the whole-tree of a revision, and do not want to see
> any regular file immediately underneath branches/ and tags/.
> 
> Is that what is happening here?
Yes. 
-- 
Eric Wong
Previous: Junio C Hamano
Message 3 of 3 in “git-svn: don't allow globs to match regular files”
  1. git-svn: don't allow globs to match regular filesEric Wong, Apr 18, 2007
  2. Junio C HamanoApr 18, 2007
  3. Eric WongApr 18, 2007

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.