improve comments
This commit is contained in:
parent
323e4f5a2f
commit
8768966d97
1 changed files with 5 additions and 1 deletions
|
@ -244,7 +244,8 @@ getKeyLog key os = do
|
||||||
let logfile = p P.</> locationLogFile config key
|
let logfile = p P.</> locationLogFile config key
|
||||||
getGitLog [fromRawFilePath logfile] (Param "--remove-empty" : os)
|
getGitLog [fromRawFilePath logfile] (Param "--remove-empty" : os)
|
||||||
|
|
||||||
{- Streams the git log for all git-annex branch changes. -}
|
{- Streams the git log for all git-annex branch changes to location log
|
||||||
|
- files. -}
|
||||||
getAllLog :: [CommandParam] -> Annex ([RefChange], IO Bool)
|
getAllLog :: [CommandParam] -> Annex ([RefChange], IO Bool)
|
||||||
getAllLog = getGitLog []
|
getAllLog = getGitLog []
|
||||||
|
|
||||||
|
@ -257,6 +258,7 @@ getGitLog fs os = do
|
||||||
, Param "--pretty=format:%ct"
|
, Param "--pretty=format:%ct"
|
||||||
, Param "--raw"
|
, Param "--raw"
|
||||||
, Param "--no-abbrev"
|
, Param "--no-abbrev"
|
||||||
|
, Param "--no-renames"
|
||||||
] ++ os ++
|
] ++ os ++
|
||||||
[ Param $ Git.fromRef Annex.Branch.fullname
|
[ Param $ Git.fromRef Annex.Branch.fullname
|
||||||
, Param "--"
|
, Param "--"
|
||||||
|
@ -277,6 +279,8 @@ getGitLog fs os = do
|
||||||
--
|
--
|
||||||
-- The timestamp is not included before all changelines, so
|
-- The timestamp is not included before all changelines, so
|
||||||
-- keep track of the most recently seen timestamp.
|
-- keep track of the most recently seen timestamp.
|
||||||
|
--
|
||||||
|
-- Only changes to location log files are returned.
|
||||||
parseGitRawLog :: GitConfig -> [String] -> [RefChange]
|
parseGitRawLog :: GitConfig -> [String] -> [RefChange]
|
||||||
parseGitRawLog config = parse epoch
|
parseGitRawLog config = parse epoch
|
||||||
where
|
where
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue