MCPcopy Create free account
hub / github.com/KDE/kate / gitNotFoundMessage

Function gitNotFoundMessage

apps/lib/diff/diffwidget.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40#include <ktexteditor/cursor.h>
41
42Q_DECL_COLD_FUNCTION static void gitNotFoundMessage()
43{
44 Utils::showMessage(i18n("<b>git</b> not found. Git is needed to diff the documents. If git is already installed, make sure it is your PATH variable. See "
45 "https://git-scm.com/downloads"),
46 gitIcon(),
47 i18n("Diff"),
48 MessageType::Error);
49}
50
51DiffWidget *DiffWidgetManager::existingDiffWidgetForParams(KTextEditor::MainWindow *mw, const DiffParams &p)
52{

Callers 3

applyDiffMethod · 0.85
runGitDiffMethod · 0.85
diffDocsMethod · 0.85

Calls 2

showMessageFunction · 0.85
gitIconFunction · 0.85

Tested by

no test coverage detected