The revision will change between different repos though, so
random-contributor A that doesn't have his repo publicised needs to send
patches and can't log his exact problem revision somewhere, which makes
it hard for random contributor B that runs into a similar problem but on
a different project sometime later to find the offending code. I prefer
the git way, but I'm a git user and probably biased.
That said, it shouldn't be impossible to add fixed, user-friendly
bazaar-like revision numbers for git. We just have to reverse the
<committish>[^~]<number> syntax to also accept <committish>+<number>.
This would work marvelously with serial development but breaks horribly
with merges unless the first (or last) commit on each new branch gets
given a tag or some such.
Either way, I'm fairly certain both bazaar and git needs to distribute
information to the user in need of finding the revision (which url and
which number vs which sha). I also imagine that the bazaar users, just
like the git users, are sufficiently apt copy-paste people to never
actually read the prerequisite information.
Well, if two people have the same revision in git, you *know* they have
pulled from each other, because ALL objects are immutable. The point of
"naming" the revision is moot, because it's something all SCM's can do.
I imagine the bazaar-names with url+number only has local meaning unless
someone has access to your repository too. One of the great benefits of
git is that each revision is *always exactly the same* no matter in
which repository it appears. This includes file-content, filesystem
layout and, last but also most important, history.
Can't all scm's do this?
This I'm not so sure about. Anyone wanna fill out how shallow clones and
all that jazz works?
Check. Well, actually, you just clone it as usual but with the --bare
argument and it won't write out the working tree files.
Works in git as well, but each "checkout" (actually, locally referenced
repository clone) gets a separate branch/tag namespace.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
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