public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* git diff bug? what problem may be here
@ 2015-04-07  6:04 KES
  2015-04-07 17:27 ` KES
  0 siblings, 1 reply; 2+ messages in thread
From: KES @ 2015-04-07  6:04 UTC (permalink / raw)
  To: git

When after editing I get this:
 mdi.Application= this;

 mdi.Class.TApplication.baseConstructor.apply( this, arguments );


git diff shows:
 
  mdi.Application= this;
- mdi.Class.TApplication.baseConstructor.apply( this, arguments );
 
- //We must not create/show application node because of this is the 'document.bo
- //It exists always so apply application properties to 'document.body' only
- this.updateDomNode();
+ mdi.Class.TApplication.baseConstructor.apply( this, arguments );
 },{

Notice same lines:
- mdi.Class.TApplication.baseConstructor.apply( this, arguments );
+ mdi.Class.TApplication.baseConstructor.apply( this, arguments );


But when I edit like this (notice no new line between mdi.Application and mdi.Class):

 mdi.Application= this;
 mdi.Class.TApplication.baseConstructor.apply( this, arguments );

Git diff shows:
  mdi.Application= this;
  mdi.Class.TApplication.baseConstructor.apply( this, arguments );
-
- //We must not create/show application node because of this is the 'document.body'.
- //It exists always so apply application properties to 'document.body' only
- this.updateDomNode();
 },{

Why new line cause same line in patch added and removed?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* git diff bug? what problem may be here
  2015-04-07  6:04 git diff bug? what problem may be here KES
@ 2015-04-07 17:27 ` KES
  0 siblings, 0 replies; 2+ messages in thread
From: KES @ 2015-04-07 17:27 UTC (permalink / raw)
  To: git

When after editing I get this:
 mdi.Application= this;

 mdi.Class.TApplication.baseConstructor.apply( this, arguments );

git diff shows:

  mdi.Application= this;
- mdi.Class.TApplication.baseConstructor.apply( this, arguments );

- //We must not create/show application node because of this is the 'document.bo
- //It exists always so apply application properties to 'document.body' only
- this.updateDomNode();
+ mdi.Class.TApplication.baseConstructor.apply( this, arguments );
 },{

Notice same lines:
- mdi.Class.TApplication.baseConstructor.apply( this, arguments );
+ mdi.Class.TApplication.baseConstructor.apply( this, arguments );

But when I edit like this (notice no new line between mdi.Application and mdi.Class):

 mdi.Application= this;
 mdi.Class.TApplication.baseConstructor.apply( this, arguments );

Git diff shows:
  mdi.Application= this;
  mdi.Class.TApplication.baseConstructor.apply( this, arguments );
-
- //We must not create/show application node because of this is the 'document.body'.
- //It exists always so apply application properties to 'document.body' only
- this.updateDomNode();
 },{

Why new line cause same line in patch added and removed?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-07 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-07  6:04 git diff bug? what problem may be here KES
2015-04-07 17:27 ` KES

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox