Re: [PATCH-RFC] Rewrite ls-tree to behave more like "/bin/ls -a"

From: Jason McMullan <jason.mcmullan@timesys.com>
Date: 2005-05-29 08:02:08
On Sat, 2005-05-28 at 00:05 -0700, Junio C Hamano wrote:
>  - Unlike the old ls-tree behaviour that used paths arguments to
>    restrict output (not that it worked as intended---as pointed
>    out in the mailing list discussion, it was quite incoherent),
>    this rewrite uses paths arguments to specify what to show.
> 
>  - Without arguments, it implicitly uses the root level as its
>    sole argument ("/bin/ls -a" behaves as if "." is given
>    without argument).
> 
>  - Without -r (recursive) flag, it shows the named blob (either
>    file or symlink), or the named tree and its immediate
>    children.
> 
>  - With -r flag, it shows the named path, and recursively
>    descends into it if it is a tree.
> 
>  - With -d flag, it shows the named path and does not show its
>    children even if the path is a tree, nor descends into it
>    recursively.

This behavior pattern is very agreeable. I'll take it!

Consider your patch:

Signed-Off-By: Jason McMullan <jason.mcmullan@timesys.com>

-- 
Jason McMullan <jason.mcmullan@timesys.com>
TimeSys Corporation


-
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

Received on Sun May 29 08:02:32 2005

This archive was generated by hypermail 2.1.8 : 2005-05-29 08:02:33 EST