[gnome-builder] git: ensure we track whitespace changes



commit 0edf6eef4d47896a4db20b6a4e755f07468c70a0
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 12 20:00:59 2019 -0800

    git: ensure we track whitespace changes
    
    We need this later on for doing white-space trimming.

 src/plugins/git/gbp-git-buffer-change-monitor.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/plugins/git/gbp-git-buffer-change-monitor.c b/src/plugins/git/gbp-git-buffer-change-monitor.c
index e3a9676a3..1f1b0c4f8 100644
--- a/src/plugins/git/gbp-git-buffer-change-monitor.c
+++ b/src/plugins/git/gbp-git-buffer-change-monitor.c
@@ -722,7 +722,6 @@ gbp_git_buffer_change_monitor_calculate_threaded (GbpGitBufferChangeMonitor  *se
   ranges = g_array_new (FALSE, FALSE, sizeof (Range));
   options = ggit_diff_options_new ();
 
-  ggit_diff_options_set_flags (options, GIT_DIFF_IGNORE_WHITESPACE_EOL);
   ggit_diff_options_set_n_context_lines (options, 0);
 
   ggit_diff_blob_to_buffer (diff->blob,


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