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

Re: gitk feature request..

From
MCMarco Costalba <mcostalba@gmail.com>
Date
Nov 11, 2006, 15:08 UTC
Message-ID
<e5bfff550611110708r1ad9559ewf35b8abaceb21cc4@mail.gmail.com>
In-Reply-To
<7vslgu28do.fsf@assigned-by-dhcp.cox.net>
On 11/7/06, Junio C Hamano <junkio@cox.net> wrote:
>
> Having said that, is the gitk view supposed to be shared across
> users of a single repository?
>

Perhaps I misunderstand, but aren't gitk views a command line arguments set for git-rev-list?

Couldn't be defined as aliases and stored in .git/config? so to be used also with other git commands, as example git log...and of course other GUI tools ;-).

If I understand correctly the git documentation, aliases store both the git command and the argument list. Perhaps for views the command could be git-rev-parse.

Regarding the local / private views problem, perhaps we could use a local, i.e. out of .git directory, config file that _extends_ and _overrides_ the repository config file.

What I mean is that an alias, or also, in general, a config variable could be searched by git, first in the local file, then if not found in the .git/config file.

Of course the problem of per-repository _and_ private views stay open (we could use sub-sections identified by repo path in private .config file???) but I think this is a more general and porcelain agnostic approach and could be better reused and extended.

Previous: Pierre DumuidNext: Jakub Narebski
Message 5 of 7 in “gitk feature request..”
  1. Pierre Marc DumuidOct 9, 2006
  2. Paul MackerrasNov 7, 2006
  3. Junio C HamanoNov 7, 2006
  4. Pierre DumuidNov 8, 2006
  5. Marco CostalbaNov 11, 2006
  6. Jakub NarebskiNov 11, 2006
  7. Petr BaudisNov 11, 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.