[gitg] Preserve line endings in gitg config



commit 43051fa79b7a2c6d3701aaf6b22cfef9ac0da156
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Thu Mar 24 13:13:58 2011 +0100

    Preserve line endings in gitg config

 libgitg/gitg-config.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgitg/gitg-config.c b/libgitg/gitg-config.c
index 5a07b70..87b68ca 100644
--- a/libgitg/gitg-config.c
+++ b/libgitg/gitg-config.c
@@ -139,6 +139,7 @@ gitg_config_init (GitgConfig *self)
 	self->priv = GITG_CONFIG_GET_PRIVATE (self);
 
 	self->priv->shell = gitg_shell_new_synchronized (1000);
+	gitg_shell_set_preserve_line_endings (self->priv->shell, TRUE);
 
 	self->priv->accumulated = g_string_new ("");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]