From c3fa443c251201bdb882d1e9a1f68978830a2ef8 Mon Sep 17 00:00:00 2001 From: sunny256 Date: Wed, 24 Jun 2015 15:33:05 +0000 Subject: [PATCH] Add patch for "unrecognized argument: -raw" bug --- ....hs:_Add_missing_dash_to_--raw_option.mdwn | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 doc/todo/__91__PATCH__93___Log.hs:_Add_missing_dash_to_--raw_option.mdwn diff --git a/doc/todo/__91__PATCH__93___Log.hs:_Add_missing_dash_to_--raw_option.mdwn b/doc/todo/__91__PATCH__93___Log.hs:_Add_missing_dash_to_--raw_option.mdwn new file mode 100644 index 0000000000..0a1ee557de --- /dev/null +++ b/doc/todo/__91__PATCH__93___Log.hs:_Add_missing_dash_to_--raw_option.mdwn @@ -0,0 +1,33 @@ +This commit is also available in the "log-raw-missing-dash" branch at . + +[[!format hs """ +From 5e00265dae057e1846d5a256f450c8a1e1803c97 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=98yvind=20A=2E=20Holm?= +Date: Wed, 24 Jun 2015 17:07:37 +0200 +Subject: [PATCH] Log.hs: Add missing dash to --raw option + +After commit eb33569f ("remove Params constructor from +Utility.SafeCommand", 2015-06-01), git-annex aborted with the error +message "fatal: unrecognized argument: -raw" when executing "git annex +log". +--- + Command/Log.hs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Command/Log.hs b/Command/Log.hs +index 9ee7f85..495c43c 100644 +--- a/Command/Log.hs ++++ b/Command/Log.hs +@@ -151,7 +151,7 @@ getLog key os = do + [ Param "log" + , Param "-z" + , Param "--pretty=format:%ct" +- , Param "-raw" ++ , Param "--raw" + , Param "--abbrev=40" + , Param "--remove-empty" + ] ++ os ++ +-- +2.4.4.408.g16da57c + +"""]]