Thread (12 messages) flat view 12 messages, 6 authors, 2016-06-15

Re: [PATCH/RFC] gitk: refresh index before checking for local changes

From: Jon Seymour <hidden>
Date: 2016-06-15 22:48:34

On Wed, Apr 7, 2010 at 2:21 PM, A Large Angry SCM [off-list ref] wrote:
NAK - gitk should not modify a repository and/or working dir unless
_explicitly_ prompted to by the user.

If you want a new _non-default_ option setting for gitk, that fine also.
gitk and git gui currently behave differently in this regard.

git gui updates the indexes view of the working tree on start, gitk does not.

gitk's current behaviour is somewhat mysterious to the uninitiated -

user: "what? I have local changes?"
tool: "relax dear user what you see is dirty laundry. if you want to
see the actual state, start git gui then come back to me and refresh
me when you are done"

gitk is effectively lying to the user about the state of their working
tree. git gui does not.

Needless to say, I support this change.

jon.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help