Hi Aaron,
On Mon, 16 Oct 2006, Aaron Bentley wrote:
How should this cope with a distributed project? IOW how does it deal with
"this revision and that revision are exactly the same"?
If I understand you correctly, you are claiming that you are not really
identifying a revision, but a revision _at a certain place with a
place-dependent number_. This conflicts with my understanding of a
revision.
It depends on your usage. If you want to do anything interesting, like
assure that you have the correct version, or assure that two different
person's tags actually tag the same revision, there is no simpler
representation.
Of course! Persistence (and reliability) are the number one goal of git.
Performance is the next one.
As an example of completely independet branches, look at the "next" and
the "todo" branch of git. They are _completely_ independent, i.e. not even
sharing history, let alone files.
Oh, we start another flamewar again?
Honestly, if you want to record renames, why don't you also support (with
a command for each of those purposes) code copying? And refactoring? And
copyright year bumps? _put your favourite here_
If you really, really think about it: it makes much more sense to record
your intention in the commit message. So, instead of recording for _every_
_single_ file in folder1/ that it was moved to folder2/, it is better to
say that you moved folder1/ to folder2/ _because of some special reason_!
Same goes for all other thinkable examples.
If you want to track code, then let the tracker do its work, i.e. let
git-pickaxe figure where your code came from. It is likely being more
precise than any human ever can be.
It is more like the Unix way. Let each command do _one_ thing, but let it
do it _perfectly_.
Welcome to git! Git's commands are very efficient, and you can even pipe
them efficiently! And now that we have GIT_TRACE, diagnostics are no
concern.
Ciao,
Dscho
-
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