summaryrefslogtreecommitdiff
path: root/doc/todo/wishlist__58___--dry-run_option_for_all_commands/comment_1_03bf493d5a7f957339f9aa388ba85ef8._comment
blob: 77257473886fd988b7615c1ed81d3e77ab550de2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2014-11-03T16:44:45Z"
 content="""
This would add a lot of complexity; it's not like I could switch off
running all external commands, since many external commands are run to
query state to decide what to do. And then there's large chunks of code
that actually do stuff and would have to all be guarded to not run.

I don't see the benefit to justify this work. `git annex add` is entirely
predictable; it's very similar to `git add`. Which itself lacks a dry-run
option. And like `git add`, you can certianly undo the effects of `git
annex add`.

Matching options can make commands like `git annex find` list the same
set of files that are acted on by commands like `git annex drop`
(`git annex find --in here`)
and `git annex get` (`git annex find --not --in here`).
"""]]