summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/todo/operate_on_branch_contents.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/todo/operate_on_branch_contents.mdwn b/doc/todo/operate_on_branch_contents.mdwn
new file mode 100644
index 000000000..ea715a0e8
--- /dev/null
+++ b/doc/todo/operate_on_branch_contents.mdwn
@@ -0,0 +1,10 @@
+Currently, commands can operate on specific files in the working tree,
+or on all known keys, or on a specific key. It would be useful to have
+something like `--branch foo` which would operate on the files present in
+the specified branch.
+
+For example, this would be useful in bare repos to fsck only the master
+branch, and not all versions of all keys.
+
+It might be worth allowing a full refspec, so that eg `refs/remotes/*/master`
+or `refs/tags/*` can be operated on.