On 02/06/2014 09:17 PM, Jonathan Nieder wrote:
> How do I use the only-look-at-HEAD mode from a non-bare repo? If I
> want attributes with respect to some other commit instead of HEAD, is
> there a syntax for that? The command doesn't seem to have been well
> thought out.
I agree that it would b
Jonathan Nieder writes:
> Someone asked in a private reply how this interacts with t0003.
It was me mistakenly using "reply" not "reply all".
> t0003 tries check-attr in a bare repository. The question is, is that
> a desirable feature, and are people relying on it?
Running tar-tree from a pu
Hi again,
Jonathan Nieder wrote:
> Junio C Hamano wrote:
>> +if (!is_bare_repository())
>> +setup_work_tree();
>
> Hm. Shouldn't check-attr error out when run without a worktree and
> without --cached?
>
> That would mean something like
>
> diff --git i/builtin/check-attr.c w/b
Hi,
Junio C Hamano wrote:
> --- a/builtin/check-attr.c
> +++ b/builtin/check-attr.c
> @@ -94,6 +94,9 @@ int cmd_check_attr(int argc, const char **argv, const char
> *prefix)
> struct git_attr_check *check;
> int cnt, i, doubledash, filei;
>
> + if (!is_bare_repository())
> +
4 matches
Mail list logo