On Fri, 30 Oct 2015 05:06:00 -0700 (PDT)
Ivan Švaljek <ivan.sval...@gmail.com> 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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to