On Fri, Feb 17, 2017 at 02:34:15PM -0800, hIpPy wrote:
> I think the conversation has drifted away from what I am asking / hoping for.
Yeah, the usual answer to "can we have custom options" is "use a custom
alias". But I agree they are not quite the same thing.
> Say I want an alias for option
I think the conversation has drifted away from what I am asking / hoping for.
I apologize but I do not feel in the position of submitting patches
yet. I'll first need to read some code first before that.
I'm coming from the angle where currently I can alias just the command
(ex: l for log) not
Jeff King writes:
> On Fri, Feb 17, 2017 at 11:10:08PM +0100, Ævar Arnfjörð Bjarmason wrote:
>
>> The most gentle first step would be to try to turn the existing config
>> options where you can override cli-options into some declarative thing
>> from the current ad-hoc code we
On Fri, Feb 17, 2017 at 9:42 PM, Jeff King wrote:
> On Fri, Feb 17, 2017 at 02:50:23PM +0100, Ævar Arnfjörð Bjarmason wrote:
>
>> On Fri, Feb 17, 2017 at 9:23 AM, hIpPy wrote:
>> > Git has aliases for git commands. Is there a (an inbuilt) way to alias
>> >
On Fri, Feb 17, 2017 at 11:10:08PM +0100, Ævar Arnfjörð Bjarmason wrote:
> > A first step in that direction would probably be an environment variable
> > to tell Git to suppress command-aliases. Scripts would set that to
> > ensure a more vanilla experience. It doesn't fix _existing_ scripts, but
On Fri, Feb 17, 2017 at 02:50:23PM +0100, Ævar Arnfjörð Bjarmason wrote:
> On Fri, Feb 17, 2017 at 9:23 AM, hIpPy wrote:
> > Git has aliases for git commands. Is there a (an inbuilt) way to alias
> > options? If not, what is the reason?
>
> This has long been on my
On Fri, Feb 17, 2017 at 9:23 AM, hIpPy wrote:
> Git has aliases for git commands. Is there a (an inbuilt) way to alias
> options? If not, what is the reason?
This has long been on my wishlist, because there's a lot of
copy/pasted logic all over Git to make git foo
hIpPy venit, vidit, dixit 17.02.2017 09:23:
> Git has aliases for git commands. Is there a (an inbuilt) way to alias
> options? If not, what is the reason?
>
> Thanks,
> hippy
>
You can setup an alias for "command with options", for example:
git help s
`git s' is aliased to `status -s -b -uno
Git has aliases for git commands. Is there a (an inbuilt) way to alias
options? If not, what is the reason?
Thanks,
hippy
9 matches
Mail list logo