[gitg/wip/commit] Launch gitg with --no-wd from desktop file
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/commit] Launch gitg with --no-wd from desktop file
- Date: Fri, 5 Jul 2013 11:05:13 +0000 (UTC)
commit 8f5c463f01ad204d31a20cdade1c6fb480d87382
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Fri Jul 5 13:03:23 2013 +0200
Launch gitg with --no-wd from desktop file
data/gitg.desktop.in.in | 2 +-
gitg/commit/gitg-commit.vala | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/data/gitg.desktop.in.in b/data/gitg.desktop.in.in
index c5cfd61..d60c66e 100644
--- a/data/gitg.desktop.in.in
+++ b/data/gitg.desktop.in.in
@@ -1,7 +1,7 @@
[Desktop Entry]
_Name=gitg
_Comment=Git repository browser
-Exec=gitg %U
+Exec=gitg --no-wd %U
TryExec=gitg
Terminal=false
Type=Application
diff --git a/gitg/commit/gitg-commit.vala b/gitg/commit/gitg-commit.vala
index 83d7dde..0c8e8d2 100644
--- a/gitg/commit/gitg-commit.vala
+++ b/gitg/commit/gitg-commit.vala
@@ -395,6 +395,8 @@ namespace GitgCommit
opts |= Gitg.StageCommitOptions.AMEND;
}
+
+
if (dlg.sign_off)
{
opts |= Gitg.StageCommitOptions.SIGN_OFF;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]