From 762ff6d584c0d5109c2460b8143c70cebf6802ec Mon Sep 17 00:00:00 2001 From: sunny256 Date: Tue, 8 Sep 2015 12:47:40 +0000 Subject: [PATCH] Add patch to change --unused-refspec back to --used-refspec --- ...unused-refspec_back_to_--used-refspec.mdwn | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/todo/patch:_Command__47__Unused.hs:_Change_--unused-refspec_back_to_--used-refspec.mdwn 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 0000000000..2d8ba6a075 --- /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 . + +[[!format hs """ + +From e47e743327e519eaa07817c610b08b0e6844ca8e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=98yvind=20A=2E=20Holm?= +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 +"""]]