mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
Remove the "local modifications" string from bug and about reports. (#5552)
This commit is contained in:
@@ -39,12 +39,6 @@ try {
|
|||||||
}).trim();
|
}).trim();
|
||||||
if (gitHash) {
|
if (gitHash) {
|
||||||
gitCommitInfo = gitHash;
|
gitCommitInfo = gitHash;
|
||||||
const gitStatus = execSync('git status --porcelain', {
|
|
||||||
encoding: 'utf-8',
|
|
||||||
}).trim();
|
|
||||||
if (gitStatus) {
|
|
||||||
gitCommitInfo = `${gitHash} (local modifications)`;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
// ignore
|
// ignore
|
||||||
|
|||||||
Reference in New Issue
Block a user