fix warning
This commit is contained in:
parent
f025e825f6
commit
e9ea4fa5aa
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ tryScan r
|
|||
let (userhome, reldir) = span (/= '/') (drop 1 dir)
|
||||
in "cd " ++ userhome ++ " && " ++ cdto (drop 1 reldir)
|
||||
| otherwise = cdto dir
|
||||
cdto dir = "if ! cd " ++ shellEscape dir ++ " 2>/dev/null; then cd " ++ shellEscape dir ++ ".git; fi"
|
||||
cdto p = "if ! cd " ++ shellEscape p ++ " 2>/dev/null; then cd " ++ shellEscape p ++ ".git; fi"
|
||||
|
||||
-- First, try sshing and running git config manually,
|
||||
-- only fall back to git-annex-shell configlist if that
|
||||
|
|
Loading…
Add table
Reference in a new issue