Commit Briefs

Omar Polo

document vc-got-stage-mode


Omar Polo

adding vc-got-stage

vc-got-stage is a minor mode for vc-diff buffers controlled by Got. It's a tentative at implementing the stage operation for specific changes instead of whole files. vc.el works with filesets, and this is fine. But sometimes you want to commit only certain hunks. This initial implementation allows the user to stage changes, but you can't commit them (yet).


Omar Polo

implemented vc-got-push


Omar Polo

implemented vc-got-log-outgoing

it shows an extra commit, but it's a start!


Omar Polo

typo


Omar Polo

typo in vc-got-pull

it still doesn't work, but at least now it invokes the correct subcommand.


Omar Polo

implement dir-extra-headers

show the current branch for now


Omar Polo

add-to-list is better at strings than cl-pushnew

cl-pushnew can add multiple copies of the same string to a list, and add-to-list is also probably more idiomatic in elisp.


Omar Polo

improve vc-got–diff and vc-got-diff

got expects arguments to diff to be relative to the worktree, it won’t work with full path (even if those full paths are valid, i.e. inside a worktree). With this in place, we can also adjust vc-got-diff to process all the files, and so now also vc-root-diff (C-x v D) works as intended.



Omar Polo

implement vc-got-find-ignore-file

This is optional, but with this in place `project-find-file' works as intended. Also, should we support also .cvsignore?



Omar Polo

correct also the other example

push can add duplicate elements, and that’s not what we want as an example.


Omar Polo

remove ``Summary'' from the commit

Emacs add this ``Summary: '' string. it's quite annoying. vc-git doesn't seem to handle this specially, but maybe is git (the cli) that trims it? I need to check. In the meantime, drop it.


Omar Polo

Summary: fix use-package example