diff options
author | 2014-02-19 01:09:17 -0400 | |
---|---|---|
committer | 2014-02-19 01:19:57 -0400 | |
commit | 51c12a76ef54affaf9428232fde4f2c3e30e7488 (patch) | |
tree | 4cb2699e2b410260e383d3bf6da14d502aa0d0dc /Command/Repair.hs | |
parent | b5b5ead4b28fd08100bcac9cb9482263bac3a64e (diff) |
remove Read instance for Ref
Removed instance, got it all to build using fromRef. (With a few things
that really need to show something using a ref for debugging stubbed out.)
Then added back Read instance, and made Logs.View use it for serialization.
This changes the view log format.
Diffstat (limited to 'Command/Repair.hs')
-rw-r--r-- | Command/Repair.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Repair.hs b/Command/Repair.hs index c87317685..56925d83d 100644 --- a/Command/Repair.hs +++ b/Command/Repair.hs @@ -81,4 +81,4 @@ trackingOrSyncBranch :: Ref -> Bool trackingOrSyncBranch b = Git.Repair.isTrackingBranch b || isAnnexSyncBranch b isAnnexSyncBranch :: Ref -> Bool -isAnnexSyncBranch b = "refs/synced/" `isPrefixOf` show b +isAnnexSyncBranch b = "refs/synced/" `isPrefixOf` fromRef b |