Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Fix __git_is_treeish and add __git_is_committish



On Wed, Jun 9, 2010 at 18:29, Holger Weiss <holger@xxxxxxxxxxxxxxxx> wrote:
> The __git_is_treeish function is meant to check whether the provided
> argument specifies a "tree-ish" Git object. ÂThe function runs
>
> Â Â Â Âgit rev-parse $1 --

> This patch simply removes the "--" argument from the "git rev-parse"
> call.

Shouldnât that be

git rev-parse -- $1

as -- is used to separte options from arguments?



Messages sorted by: Reverse Date, Date, Thread, Author