Your diff is too large to search

その他

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

The following message appears when search through a commit diff:

Your diff is too large to search. Searching the first 10000 lines

原因

Stash is coded to search through the first 10000 lines of a diff by default. Showing more than 10000 diff lines will impact the performance of the browser, due to the way Stash renders the diff tree. This is particularly noticeable in older browsers and Internet Explorer. There is also a smaller impact on the server, due to processing the output of the Git command required to generate the diff, but is less noticeable with moderately larger values.

ソリューション

Please note that increasing the limit is not recommended and will have a performance impact.

  1. Stop Stash.
  2. Add the following property into stash-config.properties to increase the limit to 20000 lines (create one if it doesn't exist):

    page.max.diff.lines=20000 

    See Stash config properties for more information.
     

  3. Restart Stash.
Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.