Yes I would like to get the diff state in a C# program of mine, Git is one 
candidate if it's the easiest way to get such a state.
Git is also a candidate because it has some merge functionality if I'm not 

Dana petak, 30. listopada 2015. u 14:44:49 UTC+1, korisnik Konstantin 
Khomoutov napisao je:
> On Fri, 30 Oct 2015 05:06:00 -0700 (PDT) 
> Ivan Švaljek < <javascript:>> wrote: 
> > >> Is it possible to automate an C# app using git, so I get a flag 
> > >> whether the changes in the new file version are destructive or 
> > >> non-destructive? Bonus question: is there a functionality in git 
> > >> to then merge those two file versions if the changes were non 
> > >> destructive (line addition in css or a comment in php)? 
> [...] 
> > > First things first: what do you think destrictive? Removing "rm -rf 
> > > \*" from a shell script doesn’t seem destructive to me, for example… 
> > By destructive I mean any code overwrite or deletation, by 
> > non-destructive I mean anything added to the source file that doesn't 
> > overwrite or delete old version's content. 
> > 
> > Destructive 
> > .banner_wrap {display:block;} -> .banner_wrap {display:inline-block;} 
> > 
> > Non-destructive 
> > .banner_wrap {display:block;} -> .banner_wrap {display:block; 
> > border:1px solid #eee; } 
> So what did you mean by referring to a C# program in your original 
> message?  Did you mean writing a program which would call out to Git, 
> ask it for the list of changes between two files and decide whether 
> they are "destructive" or not? 

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to