Łukasz Stelmach <stlman@xxxxxxxxx> writes: > Enable gitk read and write repository specific configuration > file: ".git/k" if the file exists. To make gitk use the local > file simply create one, e.g. with the touch(1) command. > > This is very useful if one uses different views for different > repositories. Now there is no need to store all of them in > ~/.gitk and make the views list needlessly long. I do not use gitk heavily myself, but I have a mixed feeling about this patch. Forking the configuration from the one true ~/.gitk is easy; it is just the matter of copying it to repository specific location. Once forked, however, it is very hard to merge these configuration files sprinkled across repositories back, or more importantly, change the settings globally. Imagine you just got a new monitor that is a lot finer grained than the one you have been usingq, and your choice of font size has been specified in terms of pixels; you would want to show all gitk windows in larger font now, regardless of the repository, but you now have to go to 47 different configuration files and update them. So I suspect that this may introduce more trouble than it is worth for users and should not be sold with a "This is very useful" label. At best, it is "This may be useful"; otherwise the feature may end up harming our users. I'd phrase it without judging if it is good or bad for the users, perhaps like this: This allows one to specify different views for different repositories. In any case, the filename .git/k may be _cute_, but I do not think we would want to see: $ ls .git branches config HEAD index k objects COMMIT_EDITMSG description hooks info logs refs It is too cryptic, unless the user _knows_ 'k' is for gitk. I'd call it $GIT_DIR/gitkconfig or something, if I were supportive for this feature (which I am not enthusiastic, yet). Thanks. -- 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