On Mon, 11 Jun 2018, Stefan Beller wrote: > On Fri, Jun 8, 2018 at 10:15 AM Derrick Stolee <stolee@xxxxxxxxx> wrote: > > > > On 6/8/2018 9:18 AM, Robert P. J. Day wrote: > > > for one of my courses, i wanted to write a section about the > > > various techniques for dealing with whitespace issues in git, so > > > i started > > What do you mean by white space issues? > That in itself is a complex topic: i know ... it's not even clear that just dealing with EOL standardization shouldn't be a topic all by itself. > * There are 3 different modes to ignore white space changes: > - trailing whitespaces, > - conversion of tab to space and back > These two are caught by the default in 'git diff --check' > - any white space change > This is interesting to ignore in git-blame[1], but sometimes > it is actually interesting. > > [1] See also > https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/git-hyper-blame.html > > > > > > making a list, things like: > > > > > > - running "git diff --check" > > > - "git commit --cleanup=" possibilities > > > - config options like core.{eol,safecrlf,autocrlf} > > This sounds more like line ending or cross platform issues > than whitespaces (except .eol) i just started a quick-and-dirty wiki page as a reference to things that relate to whitespace: http://crashcourse.ca/dokuwiki/doku.php?id=git_whitespace it's not even *remotely* close to comprehensive, i just wanted to start making a list. feel free to make other suggestions as i keep adding to that page. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca/dokuwiki Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================