aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/patch__58___Command__47__Unused.hs__58___Change_--unused-refspec_back_to_--used-refspec.mdwn
blob: 87a0428f0ba99af3b32c09ee6ed3a59708420e4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
"""]]

> applied, thanks! [[done]] --[[Joey]]