Re: gitk feature request..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/7/06, Junio C Hamano <junkio@xxxxxxx> 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.

 Marco
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]