Updates to git-add--interactive
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Rename patch_update_file function to patch_update_pathspecgit-add--interactive.perl | +2 | 0 replies | |
| 2/3 | Move pathspec validation into interactive_addbuiltin-add.c builtin-commit.c commit.h +1 more | +38 | 3 replies | |
| 3/3 | Add "--patch" option to git-add--interactiveDocumentation/ builtin-add.c git-add--interactive.perl | +50 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Updates to git-add--interactive
Based on feedback from Junio last night here is a new series. This one goes on top of the "next" branch.
I moved the pathspec validity checking into builtin-add, thus simplifying things considerably. I also enforced some strict assumptions about how the optional arguments will be passed from builtin-add to git-add--interactive; I can do this because it is the only caller, and it once again makes things a bit simpler.
I don't expect this to actually be applied as-is, as there are some doubts I have which I have added to the emails for each patch. In particular there is a performance issue with the pathspec validity checking (no idea why it is so much slower than just invoking git-ls-files), and the behaviour is not exactly where I'd like it to be (things like "git-add -i ." don't work because "." is considered invalid).
So looking for feedback on how to address this issues and will resubmit.