Commits


implement vc-got-find-file-hook automatically activate smerge-mode when visiting a got-controlled file with conflicts.


add a space when prompting for the push/pull operations


vc-got trims '----' by itself now


due piccoli errori di battitura corretti * una 'e' accentata * una maiuscola mancante ad inizio frase


implement log-view-mode


make files an optional parameter vc-got-stage.el uses the two-arity version of vc-got--status, but after recent change it broke ofc.


fix vc-dir listing on sub-directories Refactor vc-got--status so it a) correctly manages files and b) returns filenames relative to the directory. fixes #13


improve vc-got-{push,pull} Switches from #'vc-do-command to #'vc-do-async-command in vc-got--push-pull and sets the vc-compilation-mode. This means that now the push/fetch buffer behaves just like the one from vc-got: one can press `q' to quit and `g' to do the operation again. fixes #15


ignore ignored files but not up-to-date ones really fixes #12 I was too fast at committing the previous diff. The previous commit will effectively ignore "ignored" files, but also up-to-date ones! This de-ignore (is that a word?) the up-to-date files, while still hiding the ignored ones. Hope this makes sense.


ignore ignored files closes #12 The rationale is that `got status` doesn't print the status of the file if it is either up-to-date or ignored by .gitignore or .cvsignore. Thus, we were marking as up-to-date the ignored files in *vc-dir*. (vc-got-state was working as expected.) This tries to fix the situation. File for which `got status` doesn't print any info are saved in a double-check list, and we issue a second `got status` only against the double check list, and push onto res only the up-to-date ones.


extract the filtering to its own function I got tired of `n` a millions of time when debugging vc-got-dir-status-files, so I extracted it to its own function. (yeah, I could have used a conditional breakpoint, but I feel this is more readable)


minor tweaks added some process-file-side-effect around, minor style fixes, some minor docs improvements. No (theoretically) functional changes.


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