Re: svn versus git
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 13, 2006, 23:45 UTC
- Message-ID
- <7vfybjbbsx.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200612132200.41420.andyparkins@gmail.com>
Andy Parkins <andyparkins@gmail.com> writes:
> ... The output of git-ls-tree is not user friendly; it > requires some understanding of git internals.
ls-tree is not Porcelain and has right to expose the internals by default. "git ls-tree --name-only" could be aliased to give "git ls" if you wanted to, but I wonder how often you would want to run:
svn list -r538
and for what purpose?
I often find myself doing
git diff -r --name-status v1.3.0 HEAD
to check if a file was already in v1.3.0 version, and I could do the same thing with
git list v1.3.0 >/var/tmp/1
git list HEAD >/var/tmp/2
diff -u /var/tmp/[12]but that certainly is awkward.
What do people use "svn list -r538" for and how often? In other words, when does it become necessary to get the full list of paths in an arbitrary revision?