Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added limit parameter to history in showDiff.

  • Loading branch information...
commit 29b3915abb60aacae9abc26b9927ee8aae79cca7 1 parent 77e2cc9
@jgm authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  Network/Gitit/Handlers.hs
View
1  Network/Gitit/Handlers.hs
@@ -447,6 +447,7 @@ showDiff file page params = do
(Nothing, Just t) -> do
pageHist <- liftIO $ history fs [file]
(TimeRange Nothing Nothing)
+ Nothing
let (_, upto) = break (\r -> idsMatch fs (revId r) t)
pageHist
return $ if length upto >= 2
Please sign in to comment.
Something went wrong with that request. Please try again.