aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-07-19 13:04:56 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-07-19 13:04:56 -0400
commit11b52352183e4206648225214d53fe2db7765a60 (patch)
tree9956eb4d7756c5bc7d09096a1ea7e0f05f54bd65
parent8131021f14e2fa14f99e02ac3ec1224c662e0cd9 (diff)
todo
-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.