git diff - appears no change, but shows changes -


i messing around , saw odd. think started when enabled strip whitespace in ide. when git diff, i'm getting this:

@@ -106,8 +106,8 @@ dashboard.run(function($rootscope) {              learnedoffrom: 'sum'          },          { -            docid: 1011,  -            fullname: 'lorem',  +            docid: 1011, +            fullname: 'lorem', 

i'm betting "-" lines had space @ end, show red block, , ide stripped them out on save, reason that's not showing. has else run this? thought odd. first time i've run across seeing "-" , "+" code looks identical , if trailing spaces getting stripped i'm surprised git diff isn't showing big red blocks usual.

if @ diff closely, , check whitespace, can see removed lines have trailing space, , added lines no longer that.

so change trailing whitespace removed.

this diff spaces replaced · visibility:

-············docid:·1011,· -············fullname:·'lorem',· +············docid:·1011, +············fullname:·'lorem', 

Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -