# builtin/tag.c issue with sort option

2 messages from 2015-07-28 to 2015-07-28. Participants: Jacob Keller.
Thread: https://gitlist.dev/t/39962

## Jacob Keller, 2015-07-28 22:27

Subject: builtin/tag.c issue with sort option
Message-ID: <CA+P7+xrkGh5iB2XunqRyU-iRfeFPq_ni0nPAMn-4gZVO-spnEA@mail.gmail.com>
URL: https://gitlist.dev/e/CA%2BP7%2BxrkGh5iB2XunqRyU-iRfeFPq_ni0nPAMn-4gZVO-spnEA%40mail.gmail.com

```
When passing "-n" on the command line, if you have configured sort
manually, you get an error as it thinks you passed --sort and -n.

It should automatically disable tag_sort if it wasn't passed from the
command line, as you probably know what you are doing when passing -n

I'm attempting to work up a patch for this fix, but I am having a
little bit of trouble and want to make sure it's right to fix this
behavior.

Regards,
Jake

```

## Jacob Keller, 2015-07-28 22:46

Subject: Re: builtin/tag.c issue with sort option
Message-ID: <CA+P7+xroaQy+Qu70jVnJ2NTVeOBE6-77_KcQTL1XiMzPzf-+qw@mail.gmail.com>
URL: https://gitlist.dev/e/CA%2BP7%2BxroaQy%2BQu70jVnJ2NTVeOBE6-77_KcQTL1XiMzPzf-%2Bqw%40mail.gmail.com
In-Reply-To: <CA+P7+xrkGh5iB2XunqRyU-iRfeFPq_ni0nPAMn-4gZVO-spnEA@mail.gmail.com>

```
On Tue, Jul 28, 2015 at 3:27 PM, Jacob Keller <jacob.keller@gmail.com> wrote:
> When passing "-n" on the command line, if you have configured sort
> manually, you get an error as it thinks you passed --sort and -n.
>
> It should automatically disable tag_sort if it wasn't passed from the
> command line, as you probably know what you are doing when passing -n
>
> I'm attempting to work up a patch for this fix, but I am having a
> little bit of trouble and want to make sure it's right to fix this
> behavior.
>
> Regards,
> Jake

Actually, the sort and -n imcompatability is going away with the
unification of tag using the ref-filter API, so I think this is
actually not worth it to bother trying to fix, since it will be
removed soon anyways.

Regards,
Jake

```
