From 8ba4bfb5e7dd944b6af647e7b8093c6fa00659f9 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Fri, 15 Jun 2018 17:44:12 +0100 Subject: [PATCH] repo git: Better variable names --- Sparkles/Git/GitRepository.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sparkles/Git/GitRepository.cs b/Sparkles/Git/GitRepository.cs index 8d7344f3..12117532 100644 --- a/Sparkles/Git/GitRepository.cs +++ b/Sparkles/Git/GitRepository.cs @@ -379,17 +379,17 @@ namespace Sparkles.Git { // Commits the made changes void Commit (string message) { - GitCommand git; + GitCommand git_config; string user_name = base.local_config.User.Name; string user_email = base.local_config.User.Email; if (!this.user_is_set) { - git = new GitCommand (LocalPath, "config user.name \"" + user_name + "\""); - git.StartAndWaitForExit (); + git_config = new GitCommand (LocalPath, "config user.name \"" + user_name + "\""); + git_config.StartAndWaitForExit (); - git = new GitCommand (LocalPath, "config user.email \"" + user_email + "\""); - git.StartAndWaitForExit (); + git_config = new GitCommand (LocalPath, "config user.email \"" + user_email + "\""); + git_config.StartAndWaitForExit (); this.user_is_set = true; }