diff options
author | sunny256 <sunny256@web> | 2015-09-08 12:47:40 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-09-08 12:47:40 +0000 |
commit | 1b8932965594bfa48b0692e22aee6a65f6ae87ad (patch) | |
tree | 465f6bc2b7100bed740456f6b05d1b16416f2ff3 | |
parent | 0bdf14b2a34c880e91050b725278f1667a30fbcd (diff) |
Add patch to change --unused-refspec back to --used-refspec
-rw-r--r-- | doc/todo/patch:_Command__47__Unused.hs:_Change_--unused-refspec_back_to_--used-refspec.mdwn | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/todo/patch:_Command__47__Unused.hs:_Change_--unused-refspec_back_to_--used-refspec.mdwn b/doc/todo/patch:_Command__47__Unused.hs:_Change_--unused-refspec_back_to_--used-refspec.mdwn new file mode 100644 index 000000000..2d8ba6a07 --- /dev/null +++ b/doc/todo/patch:_Command__47__Unused.hs:_Change_--unused-refspec_back_to_--used-refspec.mdwn @@ -0,0 +1,33 @@ +This patch is also available from the "used-refspec-fix" branch at <https://github.com/sunny256/git-annex/>. + +[[!format hs """ + +From e47e743327e519eaa07817c610b08b0e6844ca8e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=98yvind=20A=2E=20Holm?= <sunny@sunbase.org> +Date: Tue, 8 Sep 2015 14:29:25 +0200 +Subject: [PATCH] Command/Unused.hs: Change --unused-refspec back to + --used-refspec + +Fix typo in commit 160d4b9 ("convert Unused, and remove some dead code +for old style option parsing", 2015-07-10), the "git-annex unused +--used-refspec" option was incorrectly changed to --unused-refspec. +--- + Command/Unused.hs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Command/Unused.hs b/Command/Unused.hs +index a383d56..4756cda 100644 +--- a/Command/Unused.hs ++++ b/Command/Unused.hs +@@ -53,7 +53,7 @@ optParser _ = UnusedOptions + <> help "remote to check for unused content" + )) + <*> optional (option (eitherReader parseRefSpec) +- ( long "unused-refspec" <> metavar paramRefSpec ++ ( long "used-refspec" <> metavar paramRefSpec + <> help "refs to consider used (default: all branches)" + )) + +-- +2.6.0.rc0.24.gec371ff +"""]] |