git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH RFC] Add a config verbose option fetch and push

From
Thomas Rast <trast@student.ethz.ch>
Date
May 22, 2010, 13:34 UTC
Message-ID
<201005221534.18529.trast@student.ethz.ch>
In-Reply-To
<AANLkTimQzAM7qA32FRFvQC1cx7UEEKtBxjU89whrSqF5@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
Show 5 quoted lines
> On Sat, May 22, 2010 at 10:44, Thomas Rast <trast@student.ethz.ch> wrote:
> > Ævar Arnfjörð Bjarmason wrote:
> > That would completely ruin the scriptability of almost all commands.
> > Imagine the user added the following options as default:
> >  add --edit
[...]
Show 7 quoted lines
> > I'm sure you can find one option that changes the command in something
> > completely different *for every command*.
> 
> Sure. But so would adding this as git-add to your $PATH:
> 
>     #!/bin/sh
>     /usr/lib/git-core/git-add --edit $@
Two points:
* This way is not documented in git-config(1), as the proposed
  interface would have to be; hence, it is not "official".
* More importantly, it doesn't work; for builtins such as git-add, not
  even if you put it under the `git --exec-path` (yes, I've tested
  this).
> Git already has plenty of ways to shoot yourself in the foot.
Can't argue with that.
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 5 of 6 in “Re: [PATCH RFC] Add a config verbose option fetch and push”
  1. Nathan W. PanikeMay 21, 2010
  2. Ævar Arnfjörð BjarmasonMay 21, 2010
  3. Thomas RastMay 22, 2010
  4. Ævar Arnfjörð BjarmasonMay 22, 2010
  5. Thomas RastMay 22, 2010
  6. Ævar Arnfjörð BjarmasonMay 22, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.