Closed antis81 closed 10 years ago
Using #57 for implementation is pretty fine.
The Working-Tree-View currently uses Git::Repository::statusHash
(which is based on git_status_foreach_ext
) to create a flat list of files in the working directory. Your suggestion for a Index-View was: get a list of files in the index from git_status_foreach_ext
and view this in a view. I think that this is a good way to go.
But then we might get a more comfortable user interface, if we:
Git::Repository::statusHash
to filter its results (i.e. wrap the options given to libgit2 in a QFlags
from GitWRap).We should allow the user to add 3 SHA1 columns to the tree: SHA1-Of-HEAD; SHA1-In-Index; SHA1-In-WorkTree
We should setup a table that shows exactly when which state will be shown with what decoration.
[1] After thinking about this, we could also provide a special mode "Conflicts only". But that's a later thing to do...
Think we can close this one, can we?
Right. This should probably be done totally different with the Mode-Switcher :)
Here is the new issue open for discussion. We should also use the PR #57 for realization. Currently it is a separate module called "Index" using a separate view.
EDIT: PR changed to #62.