Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/vcs/widgets/vcsdiffpatchsources.cpp
Context not available. | |||||
242 | void VCSDiffPatchSource::update() { | 242 | void VCSDiffPatchSource::update() { | ||
---|---|---|---|---|---|
243 | if(!m_updater) | 243 | if(!m_updater) | ||
244 | return; | 244 | return; | ||
245 | m_updater->setContextLines(m_contextLines == 0? INT_MAX : m_contextLines); | ||||
245 | updateFromDiff(m_updater->update()); | 246 | updateFromDiff(m_updater->update()); | ||
246 | } | 247 | } | ||
247 | 248 | | |||
Context not available. | |||||
336 | 337 | | |||
337 | VcsDiff VCSStandardDiffUpdater::update() const | 338 | VcsDiff VCSStandardDiffUpdater::update() const | ||
338 | { | 339 | { | ||
340 | m_vcs->setDiffContextLines(m_contextLines); | ||||
339 | QScopedPointer<VcsJob> diffJob(m_vcs->diff(m_url, | 341 | QScopedPointer<VcsJob> diffJob(m_vcs->diff(m_url, | ||
340 | KDevelop::VcsRevision::createSpecialRevision(KDevelop::VcsRevision::Base), | 342 | KDevelop::VcsRevision::createSpecialRevision(KDevelop::VcsRevision::Base), | ||
341 | KDevelop::VcsRevision::createSpecialRevision(KDevelop::VcsRevision::Working))); | 343 | KDevelop::VcsRevision::createSpecialRevision(KDevelop::VcsRevision::Working))); | ||
Context not available. |