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

Re: [PATCH 2/2] repo-config: learn the flag "--no-local"

From
Karl Hasselström <kha@treskal.com>
Date
Jun 8, 2006, 13:37 UTC
Message-ID
<20060608133747.GA15374@diana.vm.bytemark.co.uk>
In-Reply-To
<Pine.LNX.4.63.0606081340230.25911@wbgn013.biozentrum.uni-wuerzburg.de>
On 2006-06-08 13:41:04 +0200, Johannes Schindelin wrote:
Show 15 quoted lines
> On Thu, 8 Jun 2006, Lukas Sandström wrote:
>
> > Johannes Schindelin wrote:
> > > Since there is a global config now, we need a way to access it
> > > conveniently. Now you can say
> > >
> > >   git repo-config --no-local alias.l "log --stat -M ORIG_HEAD.."
> > >
> > > to set the alias globally (it will be stored in ~/.gitconfig).
> > >
> >
> > Wouldn't it make more sense to call the flag --global ?
>
> Sure, why not? Other opinions? (I will not add a test case until
> this is resolved! ;-)

My vote goes to --no-local, but only if we also get a --no-no-local flag with the opposite meaning. Otherwise, I'd prefer --global. :-)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Johannes SchindelinNext: Aneesh Kumar K.V
Message 4 of 21 in “repo-config: learn the flag "--no-local"”
  1. 2/2 repo-config: learn the flag "--no-local"Johannes Schindelin, Jun 8, 2006
  2. Lukas SandströmJun 8, 2006
  3. Johannes SchindelinJun 8, 2006
  4. Karl HasselströmJun 8, 2006
  5. Aneesh Kumar K.VJun 8, 2006
  6. Jakub NarebskiJun 8, 2006
  7. Johannes SchindelinJun 8, 2006
  8. Alex RiesenJun 8, 2006
  9. Junio C HamanoJun 8, 2006
  10. SeanJun 8, 2006
  11. Johannes SchindelinJun 8, 2006
  12. SeanJun 8, 2006
  13. Johannes SchindelinJun 8, 2006
  14. SeanJun 8, 2006
  15. Johannes SchindelinJun 8, 2006
  16. SeanJun 8, 2006
  17. Jakub NarebskiJun 8, 2006
  18. Johannes SchindelinJun 8, 2006
  19. Jakub NarebskiJun 8, 2006
  20. Aneesh Kumar K.VJun 8, 2006
  21. Johannes SchindelinJun 8, 2006

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.