<table><tr><td style="">rjvbb added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4981" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Just make git patches generate more context, which is what you're trying to fix.</p></blockquote>

<p>How would you yourself take it if those patches all of a sudden included the whole file even for a typo correction? If I found that an acceptable approach I would have proposed it myself.</p>

<p>The only alternative I see ATM is to replace the spinbox with some kind drop-down menu that contains a smallish selection of appropriate context size (1-10, All?). Could be hidden under the update button but I have no idea though how you'd implement that. Could also be put in the context menu of the patchfile document, but that and any other approach will probably introduce a lot of unnecessary complexity. Frankly, do you all use such narrow windows that the additional spinbox (or a small button-with-dropdown) is something that really changes anything for you? How often do you even pay attention to the Update button and anything to the left of it?</p>

<p>Let's see what other reactions I get on the forum poll, beyond the 4 early votes it got that support my approach perfectly.</p></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4981" rel="noreferrer">https://phabricator.kde.org/D4981</a></div></div><br /><div><strong>To: </strong>rjvbb, kfunk, KDevelop<br /><strong>Cc: </strong>kfunk, apol, kdevelop-devel, KDevelop, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>