Commit Briefs

dbb83fbd81 Stefan Sperling

there's no need to store a directory path in struct schedule_addition_args

ok tracey




6d022e9747 Stefan Sperling

use get_worktree_paths_from_argv consistently; improves add/rm edge cases

Double 'got rm' becomes a no-op like double 'got add' already is, and 'got add' of an already staged file is now an error.


a9fa2909b9 Stefan Sperling

fix 'got revert' on files in newly added subdirectories


8d301dd94c Stefan Sperling

use cmp -s, instead of cmp, in all command line tests



723c305ce4 joshua stein

got: support adding multiple files at a time

make adding files already in the file-index not a fatal error


a7c182ac81 Stefan Sperling

missing error return in test_double_add


5c99ca9fe4 Stefan Sperling

fix behaviour when 'got add' is used twice