Gitify extract removes line, Gitify build adds the same line to all snippets and chunks


(Thomas Venturini) #1

Today I tried to figure out why a lot of my assets are manipulated by Gitify, because my commits are loaded with unrelevant changes, made automatically by Gitify as it seems.

The behaviour is that when I extract from my modx installation the first line after <?php is removed. When I build the content again … the exact same line is added again.

<?php
+
-

Where can I change this behaviour?

Thank you!


(Christian Seel) #2

Looks like a regular line ending change in Git to me. You can configure git to automatically handle that and not commit those. This article should help you: https://help.github.com/articles/dealing-with-line-endings/


(Mark Hamstra) #3

Could also be MODX - it has a tendency to strip newlines, while gitify has a tendency to clean things up. Could be worth a bug report if it’s easily reproducible.


(Thomas Venturini) #4

Thanks I’m going to try this :slight_smile:


(Thomas Venturini) #5

Will do so, if christianseel’s suggestion isn’t working :slight_smile: