From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: Re: [PATCH] Remove tab character from conflicted files list part of the merge message
Date: Tue, 13 Mar 2007 15:18:39 +0000 [thread overview]
Message-ID: <200703131518.54076.andyparkins@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0703131539430.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Tuesday 2007 March 13 14:42, Johannes Schindelin wrote:
> And of course the next guy will have the reverse problem, because he typed
> <TAB><SPACE> instead of <SPACE>*5. What do you tell _him_ after "fixing"
> this issue? "Do as _I_ do"?
That's basically what you're telling me by saying I can't have that change.
But as it happens, no I wasn't doing this as a "do it my way" kind of thing.
As it happens I /like/ tabs in my source code. However, this isn't source
code.
Let's forget my own problem - I was only offering it as backstory. Consider a
log message with no additional comments about the conflicts. The current
output looks like this:
Conflicts:
\tfile1.c
\tfile2.c
Now, view this message on the terminal with git-log, now view it in gitk, now
view it in qgit, now view it in git-gui. All of these could be set for
different tab widths, and will hence display the log message differently.
git-merge has to pick one or the other - tabs or spaces - for me, I'd rather
pick the one that means the message displays the same regardless of what the
author of the viewer/terminal thought tabs should be set to that day. I'd
also prefer that when others view the log there is more chance that they'll
see the same as I do.
Of course, there is nothing we can do if a log message author chooses to put
tabs in - but at least if git uses spaces the choice isn't already made.
Andy
--
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
next prev parent reply other threads:[~2007-03-13 15:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 13:09 [PATCH] Remove tab character from conflicted files list part of the merge message Andy Parkins
2007-03-13 14:42 ` Johannes Schindelin
2007-03-13 15:18 ` Andy Parkins [this message]
2007-03-13 15:44 ` Johannes Schindelin
2007-03-13 16:22 ` Andy Parkins
2007-03-14 9:26 ` Junio C Hamano
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=200703131518.54076.andyparkins@gmail.com \
--to=andyparkins@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.