New to Python - block grouping (spaces)

Chris Angelico rosuav at gmail.com
Sun Apr 19 22:03:30 CEST 2015


On Mon, Apr 20, 2015 at 4:07 AM, Dan Sommers <dan at tombstonezero.net> wrote:
> IMO, until git's successor tracks content-_not_-delimited-by-linefeeds,
> languages will continue to work that way.

Linefeeds are nothing to git - it tracks the entire content of the
file. When you ask to see the diff between two versions of a file,
that's when lines start to have meaning - and if you configure in your
own difftool, you're welcome to compare files in arbitrary ways. It's
not for the sake of source control that code is in lines of text -
it's for the sake of humans.

ChrisA



More information about the Python-list mailing list