Re: [PATCH v9 9/9] cocci: allow padding with `strbuf_addf()`
- From
Teng Long <dyroneteng@gmail.com>
- Date
- Jan 13, 2022, 03:34 UTC
- Message-ID
- <CADMgQSTxZ92t34=P0==a3y=7W+vvApZ8qN3mq6r2ot9YNP4WQA@mail.gmail.com>
- In-Reply-To
- <Yd3kZv4Oym1h7zap@nand.local>
On Wed, Jan 12, 2022 at 4:11 AM Taylor Blau <me@ttaylorr.com> wrote:
Show 14 quoted lines
> > Silly question, going further off-topic: What's "git always" doing? > > Oops, I should have mentioned. It's another alias to ensure that the > following command is always run in a Git repository (either the current > one or a hand-picked default): > > $ git config alias.always > !git rev-parse 2>/dev/null || cd ~/src/git; git > > I often read mail out of my home directory, and the above works with my > `:Git` command in Vim (which passes its arguments to `git always` and > inserts the result back into my buffer). That way I don't have to first > `:cd ~/src/git` and then `:Git ll xyz`, I can just `:Git ll xyz` and it > does what I meant most of the time.
The same question is clear now。 Thanks for the explanations from Taylor Blau and René Scharfe.