From: Alan Mackenzie <acm@muc.de>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Trouble merging line-numbers branch into master
Date: Fri, 7 Jul 2017 21:23:54 +0000 [thread overview]
Message-ID: <20170707212353.GA2428@acm> (raw)
In-Reply-To: <CAFyQvY0N4UuNfPQW48JgFb8nt_2pFz80u_h_mHATYKiYCg7AqA@mail.gmail.com>
Hello, Kaushal
On Fri, Jul 07, 2017 at 15:43:24 +0000, Kaushal Modi wrote:
> Hello,
> I have having trouble merging the scratch/line-numbers branch into master.
> I get one merge conflict in NEWS. That is fine; I resolved that locally.
> But then further merging fails because of
> 1 git … commit --
> lisp/progmodes/cc-fonts.el:1251: space before tab in indent.
> + (c-major-mode-is 'c++-mode)
> lisp/progmodes/cc-fonts.el:1252: space before tab in indent.
> + (save-excursion (c-back-over-member-initializers)))
> You can see that there is white-space trapped between tabs (whitespace
> mode) on lines 1251 and 1252:
I've just counted up occurrences of <space><tab> in our elisp files, and
we've got around 2058 in 263 distinct files. A lot of these appear to
have been where `comment-region' has inserted ";; " before tabs, but not
all of them.
Have you any idea what's special about those two <space><tab>s in
cc-fonts.el that git complained about them, but not the other 2056
occurrences?
> [image: image.png]
> (Look! I am making use of the new line-numbers feature to visually
> communicate with people remotely :) )
> So something is configured in git that blocks this merging is such mix of
> white-space/tabs is seen? In any case, I removed those spaces, but still
> cannot proceed with the merge. How can I move forward with the merge?
> Also, shouldn't that commit have been blocked in the first place instead of
> complaining about it when merging?
I think there's something more subtle going on here.
> --
> Kaushal Modi
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2017-07-07 21:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-07 15:43 Trouble merging line-numbers branch into master Kaushal Modi
2017-07-07 15:51 ` Noam Postavsky
2017-07-07 18:08 ` Kaushal Modi
2017-07-07 21:23 ` Alan Mackenzie [this message]
2017-07-07 21:38 ` Stefan Monnier
2017-07-07 21:41 ` Paul Eggert
2017-07-07 21:46 ` Kaushal Modi
2017-07-08 8:04 ` Eli Zaretskii
2017-07-08 12:05 ` Noam Postavsky
2017-07-08 12:46 ` Kaushal Modi
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170707212353.GA2428@acm \
--to=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=kaushal.modi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).