> From: Hugh Gleaves <[email protected]> > I'm newish to Git and see that it seems to do change detection using a line > by line kind of algorithm.
Actually, Git uses binary comparison -- a file is changed if any byte in the file is changed. What you can configure is how "differences" are computed by the commands that take differences and display them. But I've never heard of a configuration that changes the definition of when a file has changed. I suppose you could write a script that looks at files and decides which to git-add and which to not. Since only the git-add'ed files are put in the new commit, that would have much the same effect. Dale -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
