[geany/geany-plugins] 529340: GeanyVC: Making interactiv with VCS a bit more verbose. Patch by James Brierley

Frank Lanitz git-noreply at xxxxx
Mon Oct 28 07:14:55 UTC 2013


Branch:      refs/heads/master
Author:      Frank Lanitz <frank at frank.uvena.de>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Mon, 28 Oct 2013 07:14:55 UTC
Commit:      5293407abfc3e34324e53eb0cac6f99811824a7b
             https://github.com/geany/geany-plugins/commit/5293407abfc3e34324e53eb0cac6f99811824a7b

Log Message:
-----------
GeanyVC: Making interactiv with VCS a bit more verbose. Patch by James Brierley


Modified Paths:
--------------
    geanyvc/src/geanyvc.c

Modified: geanyvc/src/geanyvc.c
5 files changed, 5 insertions(+), 0 deletions(-)
===================================================================
@@ -527,6 +527,7 @@ GSList *get_commit_files_null(G_GNUC_UNUSED const gchar * dir)
 {
 	gchar *dir = NULL;
 	gint ret;
+	const gint action_command_cell = 1;
 
 	if (std_out)
 		*std_out = NULL;
@@ -556,6 +557,10 @@ GSList *get_commit_files_null(G_GNUC_UNUSED const gchar * dir)
 
 	ret = execute_custom_command(dir, vc->commands[cmd].command, vc->commands[cmd].env, std_out,
 				     std_err, filename, list, message);
+
+	ui_set_statusbar(TRUE, _("File %s: action %s executed via %s."),
+			 filename, vc->commands[cmd].command[action_command_cell], vc->program);
+
 	g_free(dir);
 	return ret;
 }



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list