[anjuta] Subversion: Don't show a commit number in the info pane if no files are given
- From: James Liggett <jrliggett src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjuta] Subversion: Don't show a commit number in the info pane if no files are given
- Date: Fri, 15 May 2009 22:57:12 -0400 (EDT)
commit 096ccab1516353838060df90471bacf8f28df786
Author: James Liggett <jrliggett cox net>
Date: Fri May 15 19:52:14 2009 -0700
Subversion: Don't show a commit number in the info pane if no files are given
When no files are selected, the commit isn't done and the commit number is just uninitialized junk.
---
plugins/subversion/svn-commit-command.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/plugins/subversion/svn-commit-command.c b/plugins/subversion/svn-commit-command.c
index c0d1d2e..98fa3c8 100644
--- a/plugins/subversion/svn-commit-command.c
+++ b/plugins/subversion/svn-commit-command.c
@@ -99,6 +99,7 @@ svn_commit_command_run (AnjutaCommand *command)
g_list_length (self->priv->paths),
sizeof (char *));
error = NULL;
+ commit_info = NULL;
while (current_path)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]