Re: Switching from CVS to GIT

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eli Zaretskii
Date: Sunday, October 14, 2007 - 10:56 pm

> Date: Mon, 15 Oct 2007 00:45:47 +0100 (BST)

That's because you think file names are simple strings and can be
compared by simple string comparison.  This naìve view is not true
even on POSIX systems: "foo/bar" and "/a/b/foo/bar" can be the same
file, as well as "/a/b/c/d" and "/x/y/z", given the right symlinks.
But for some reason that eludes me, people who are accustomed to POSIX
stop right there and in effect say "file names are strings, if we only
make them absolute and resolve links".  Instead, recognize that file
names are not strings (although they inherit some of the strings'
traits), and think in terms of "file-name comparison" abstraction;
then everything will fall in place just fine.


Can you show a test case where this penalty is clearly visible?  I'm
curious to see the numbers.  TIA
-
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:
Re: Switching from CVS to GIT, Benoit SIGOURE, (Sun Oct 14, 10:10 am)
Re: Switching from CVS to GIT, Marco Costalba, (Sun Oct 14, 11:06 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Sun Oct 14, 11:20 am)
Re: Switching from CVS to GIT, Andreas Ericsson, (Sun Oct 14, 11:27 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Sun Oct 14, 11:39 am)
Re: Switching from CVS to GIT, Andreas Ericsson, (Sun Oct 14, 12:09 pm)
Re: Switching from CVS to GIT, Johannes Schindelin, (Sun Oct 14, 1:14 pm)
Re: Switching from CVS to GIT, Alex Riesen, (Sun Oct 14, 3:14 pm)
Re: Switching from CVS to GIT, Eli Zaretskii, (Sun Oct 14, 3:41 pm)
RE: Switching from CVS to GIT, Dave Korn, (Sun Oct 14, 3:59 pm)
Re: Switching from CVS to GIT, Johannes Schindelin, (Sun Oct 14, 4:45 pm)
Re: Switching from CVS to GIT, Andreas Ericsson, (Sun Oct 14, 4:55 pm)
RE: Switching from CVS to GIT, Johannes Schindelin, (Sun Oct 14, 5:01 pm)
Re: Switching from CVS to GIT, David Brown, (Sun Oct 14, 5:03 pm)
Re: Switching from CVS to GIT, Eli Zaretskii, (Sun Oct 14, 9:06 pm)
Re: Switching from CVS to GIT, Martin Langhoff, (Sun Oct 14, 10:35 pm)
Re: Switching from CVS to GIT, Martin Langhoff, (Sun Oct 14, 10:43 pm)
Re: Switching from CVS to GIT, Eli Zaretskii, (Sun Oct 14, 10:56 pm)
Re: Switching from CVS to GIT, Eli Zaretskii, (Sun Oct 14, 11:08 pm)
Re: Switching from CVS to GIT, Johannes Sixt, (Sun Oct 14, 11:39 pm)
Re: Switching from CVS to GIT, Johannes Schindelin, (Mon Oct 15, 1:44 am)
Re: Switching from CVS to GIT, David Kastrup, (Mon Oct 15, 1:57 am)
Re: Switching from CVS to GIT, Andreas Ericsson, (Mon Oct 15, 3:16 am)
Re: Switching from CVS to GIT, Johannes Sixt, (Mon Oct 15, 3:38 am)
Re: Switching from CVS to GIT, Andreas Ericsson, (Mon Oct 15, 3:52 am)
RE: Switching from CVS to GIT, Dave Korn, (Mon Oct 15, 4:16 am)
Re: Switching from CVS to GIT, Alex Riesen, (Mon Oct 15, 10:36 am)
Re: Switching from CVS to GIT, Alex Riesen, (Mon Oct 15, 10:49 am)
Re: Switching from CVS to GIT, Alex Riesen, (Mon Oct 15, 10:53 am)
RE: Switching from CVS to GIT, Dave Korn, (Mon Oct 15, 11:25 am)
RE: Switching from CVS to GIT, Johannes Schindelin, (Mon Oct 15, 11:34 am)
Re: Switching from CVS to GIT, Alex Riesen, (Mon Oct 15, 12:34 pm)
Re: Switching from CVS to GIT, Shawn O. Pearce, (Mon Oct 15, 4:12 pm)
Re: Switching from CVS to GIT, Daniel Barkalow, (Mon Oct 15, 5:45 pm)
Re: Switching from CVS to GIT, Eli Zaretskii, (Mon Oct 15, 9:30 pm)
Re: Switching from CVS to GIT, Andreas Ericsson, (Mon Oct 15, 10:14 pm)
Re: Switching from CVS to GIT, Daniel Barkalow, (Mon Oct 15, 10:56 pm)
Re: Switching from CVS to GIT, David Kastrup, (Mon Oct 15, 11:06 pm)
Re: Switching from CVS to GIT, Johannes Sixt, (Mon Oct 15, 11:10 pm)
Re: Switching from CVS to GIT, Shawn O. Pearce, (Mon Oct 15, 11:21 pm)
Re: Switching from CVS to GIT, Eli Zaretskii, (Mon Oct 15, 11:25 pm)
Re: Switching from CVS to GIT, Johannes Sixt, (Mon Oct 15, 11:29 pm)
Re: Switching from CVS to GIT, Johannes Sixt, (Mon Oct 15, 11:42 pm)
Re: Switching from CVS to GIT, Eli Zaretskii, (Tue Oct 16, 12:03 am)
Re: Switching from CVS to GIT, Daniel Barkalow, (Tue Oct 16, 12:07 am)
Re: Switching from CVS to GIT, Steffen Prohaska, (Tue Oct 16, 12:14 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Tue Oct 16, 12:17 am)
Re: Switching from CVS to GIT, Peter Karlsson, (Tue Oct 16, 4:13 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Tue Oct 16, 5:29 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Tue Oct 16, 5:33 am)
Re: Switching from CVS to GIT, Peter Karlsson, (Tue Oct 16, 5:38 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Tue Oct 16, 5:39 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Tue Oct 16, 5:53 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Tue Oct 16, 6:04 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Tue Oct 16, 6:15 am)
Re: Switching from CVS to GIT, Steffen Prohaska, (Tue Oct 16, 6:16 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Tue Oct 16, 6:16 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Tue Oct 16, 6:21 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Tue Oct 16, 6:24 am)
Re: Switching from CVS to GIT, Steffen Prohaska, (Tue Oct 16, 6:50 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Tue Oct 16, 7:14 am)
Re: Switching from CVS to GIT, Steffen Prohaska, (Tue Oct 16, 7:36 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Tue Oct 16, 8:02 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Tue Oct 16, 8:12 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Tue Oct 16, 8:16 am)
Re: Switching from CVS to GIT, Johannes Schindelin, (Tue Oct 16, 8:18 am)
Re: Switching from CVS to GIT, Eli Zaretskii, (Tue Oct 16, 8:43 am)
RE: Switching from CVS to GIT, Dave Korn, (Tue Oct 16, 8:47 am)
Re: Switching from CVS to GIT, David Brown, (Tue Oct 16, 8:56 am)
Re: Switching from CVS to GIT, Nicolas Pitre, (Tue Oct 16, 9:04 am)
RE: Switching from CVS to GIT, Dave Korn, (Tue Oct 16, 9:23 am)
Re: Switching from CVS to GIT, Andreas Ericsson, (Tue Oct 16, 9:59 am)
Re: Switching from CVS to GIT, Daniel Barkalow, (Tue Oct 16, 10:04 am)
Re: Switching from CVS to GIT, Christopher Faylor, (Tue Oct 16, 11:06 am)
Re: Switching from CVS to GIT, Robin Rosenberg, (Wed Oct 17, 12:33 pm)