summaryrefslogtreecommitdiff
path: root/t/t3704-add-pathspec-file.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-12-04add: support the --pathspec-from-file optionLibravatar Alexandr Miloslavskiy1-0/+127
Decisions taken for simplicity: 1) For now, `--pathspec-from-file` is declared incompatible with `--interactive/--patch/--edit`, even when <file> is not `stdin`. Such use case it not really expected. Also, it would require changes to `interactive_add()` and `edit_patch()`. 2) It is not allowed to pass pathspec in both args and file. Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>