diff options
Diffstat (limited to 'doc/todo/operate_on_branch_contents.mdwn')
-rw-r--r-- | doc/todo/operate_on_branch_contents.mdwn | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/doc/todo/operate_on_branch_contents.mdwn b/doc/todo/operate_on_branch_contents.mdwn deleted file mode 100644 index 533e1ab87..000000000 --- a/doc/todo/operate_on_branch_contents.mdwn +++ /dev/null @@ -1,30 +0,0 @@ -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. --[[Joey]] - -> This should be pretty easy to implement, using `git ls-tree` -> to enumerate the contents of the ref. -> -> The wrinkle is that for --all, the name of each key is shown as it's -> operated on. But in this case, we want to instead display something like -> "ref:filename". -> -> So, every command that supports --branch (which probably -> should be all the ones currently supporting --all) will need to be -> modified, to be provided some new data type that is not FilePath to a -> work tree file, but something to display while operating on an item. -> -> Not a hard change to make, but an extensive one. --[[Joey]] - ->> I've implemented the first part of this, so --branch works ->> but the name of the key is shown, rather than the file from the branch. ->> --[[Joey]] - ->>> All [[done]] now. --[[Joey]] |