forked from datalad/datalad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RF: Use the exact same code path for adding and updating a submodule
For additional improvement TODOs see the diff. Importantly, this consolidation makes it obsolete to have the result record be consistent with the one that is yielded by `add()` (which was used on submodule update). An unfortunate setup, that was criticized already a long time ago datalad#3398 (comment) Minus the issue of not breaking the promise of result invariance over time, we are no free to use sensible result records.
- Loading branch information
Showing
2 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters