Commits


don't create temp buffers for nothing


set status to 'staged if a file has all its modification staged this somewhat breaks (?) the contract of the function, but this doesn't seem to have bad effects.


improve vc-dir presentation & document vc-got-stage in README


docs fixes


drop unnecessary `:group's directive in defcustom


implement vc-got-dir-printer This way we can control how each file gets displayed in the *vc-dir* buffer and display the staged information. The advice around vc-dir-move-to-goal-column is needed otherwise `n' and `p' moves the cursor to the wrong column. vc-dir.el hardcodes that value to 25.


fix vc-got-dir-status-files after the last change to vc-got--status it wouldn't return 'up-to-date.


more docs


vc-got--status: handle stage info and filter result Changed how vc-got--status works: before it returned a string representing the output of "got status", now a data structure. Elisp is better (and more efficient) at managing buffers instead. Additionally, now it parses also the stage information and has a flag to list only file with certain status flag (i.e. only conflicted files, only added files, ...)


typo


implement vc-got-stage-commit to commit staged changes


fundamentals for staging changes This is an initial implementation for the stage/unstage functionalities. They operate at a smaller scope than filesets, the work with individual hunks. An interactive stage hunks and a unstage-all are implemented.


typo


vc-got-dir-status-files: show changes in subdirs


vc-got-repository-url: avoid infinite loops in parsing add a missing forward-line and make sure we don't try to go past the end of the file (another thing that may cause an infinite loop).