From: KES <kes-kes@yandex•ua>
To: git@vger•kernel.org
Subject: git diff bug? what problem may be here
Date: Tue, 07 Apr 2015 09:04:34 +0300 [thread overview]
Message-ID: <2396461428386674@web25m.yandex.ru> (raw)
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?
next reply other threads:[~2015-04-07 6:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 6:04 KES [this message]
2015-04-07 17:27 ` git diff bug? what problem may be here KES
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2396461428386674@web25m.yandex.ru \
--to=kes-kes@yandex$(echo .)ua \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox