export: Deprecated the --tracking option.
Instead, users can configure remote.<name>.annex-tracking-branch themselves.
This commit is contained in:
parent
d805401708
commit
4747fa923d
5 changed files with 18 additions and 11 deletions
|
@ -88,9 +88,11 @@ headExists repo = do
|
|||
sha :: Branch -> Repo -> IO (Maybe Sha)
|
||||
sha branch repo = process <$> showref repo
|
||||
where
|
||||
showref = pipeReadStrict [Param "show-ref",
|
||||
Param "--hash", -- get the hash
|
||||
Param $ fromRef branch]
|
||||
showref = pipeReadStrict
|
||||
[ Param "show-ref"
|
||||
, Param "--hash" -- get the hash
|
||||
, Param $ fromRef branch
|
||||
]
|
||||
process [] = Nothing
|
||||
process s = Just $ Ref $ firstLine s
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue