login
Header Space

 
 

Re: git-svn and huge data and modifying the git-svn-HEAD branch directly

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <junkio@...>
Cc: <git@...>
Date: Wednesday, March 1, 2006 - 4:54 pm

On Wednesday 01 March 2006 20:11, Junio C Hamano wrote:

Yes.
Any ambiguity is a source of confusion and user error. Better
bail out. If it is not a performance problem, it would be better
to integrate the check for abbreviated object name into the
ambiguity analysis, and not have 2 stages of searching.
It probably would be a good idea to print out the ambigous names
with the error message, so that you can copy&paste the correct
full name afterwards.

If we go for the .git/refs/remotes/... and have an ambiguity becaues
of remote shortcut names, a error message pointing at a "git-rename-remote"
command would be handy, allowing the user to cleanup the namespace.


I think the real problem here is that names like "dead" can be interpreted
as abbreviated object name. When you introduce such a name as head or tag,
you have a potential ambiguity which can get real at any time.
Perhaps it would be good to print out a warning when the user is about to
create a head or tag name which can be interpreted as abbreviated object name?

Josef
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn and huge data and modifying the git-svn-HEAD branch ..., Nicolas Vilz 'niv', (Mon Feb 27, 1:59 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD bra..., Nicolas Vilz 'niv', (Mon Feb 27, 3:34 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD bra..., Nicolas Vilz 'niv', (Mon Feb 27, 4:47 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD bra..., Johannes Schindelin, (Wed Mar 1, 5:07 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD bra..., Josef Weidendorfer, (Wed Mar 1, 1:14 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD bra..., Josef Weidendorfer, (Wed Mar 1, 4:54 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD bra..., Josef Weidendorfer, (Wed Mar 1, 2:06 pm)
Re: git-svn and huge data and modifying the git-svn-HEAD bra..., Josef Weidendorfer, (Wed Mar 1, 4:26 pm)
speck-geostationary