Skip to content

Commit

Permalink
supply $revision$ at _diff if "Changes from beginning to ..."
Browse files Browse the repository at this point in the history
  • Loading branch information
ayamada committed Sep 1, 2012
1 parent c6048bb commit 276233f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Network/Gitit/Handlers.hs
Expand Up @@ -460,7 +460,7 @@ showDiff file page params = do
Left e -> liftIO $ throwIO e
Right htmlDiff -> formattedPage defaultPageLayout{
pgPageName = page,
pgRevision = from',
pgRevision = from' `mplus` to,
pgMessages = pMessages params,
pgTabs = DiffTab :
pgTabs defaultPageLayout,
Expand Down

0 comments on commit 276233f

Please sign in to comment.