summaryrefslogtreecommitdiff
path: root/doc/todo/operate_on_branch_contents.mdwn
blob: ea715a0e8de0cc4cd82c00aeeaeb239aac4dc856 (plain)
1
2
3
4
5
6
7
8
9
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.