| 1903 | } |
| 1904 | |
| 1905 | DVcsJob* GitPlugin::setConfigOption(const QUrl& repository, const QString& key, const QString& value, bool global) |
| 1906 | { |
| 1907 | auto job = new GitJob(urlDir(repository), this); |
| 1908 | QStringList args; |
| 1909 | args << QStringLiteral("git") << QStringLiteral("config"); |
| 1910 | if(global) |
| 1911 | args << QStringLiteral("--global"); |
| 1912 | args << key << value; |
| 1913 | *job << args; |
| 1914 | return job; |
| 1915 | } |
| 1916 | |
| 1917 | QString GitPlugin::readConfigOption(const QUrl& repository, const QString& key) |
| 1918 | { |