From: Michael Brand <michael.ch.brand@gmail.com>
To: Achim Gratz <Stromeko@nexgo.de>,
Jason Dunsmore <emacs-orgmode@dunsmor.com>,
Matt Lundin <mdl@imapmail.org>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: git diff: hunk header config
Date: Sat, 27 Aug 2011 11:15:04 +0200 [thread overview]
Message-ID: <CALn3zogTRbxvoMLPup13owowVe0qUkbBjirweo--oY12HUZmsQ@mail.gmail.com> (raw)
In-Reply-To: <87y5yivbw1.fsf@Rainer.invalid>
Hi Achim, Jason and Matt
On Wed, Aug 24, 2011 at 21:37, Achim Gratz <Stromeko@nexgo.de> wrote:
> Michael Brand <michael.ch.brand@gmail.com> writes:
>> For .git/config I am not sure if it can be made a versioned git repo
>> element. If not, I don't know how it can become part of the transfer
>> during git pull which it should be in any case. Proposal for the
>> content (changed from first post):
>
> You can't and I don't think that is an oversight. As a general
> principle such configurations should not be part of the repository at
> all. Please note that if you do configure it that way locally, all
> tools in git will show all diffs in the new format, so there is nothing
> lost if everybody doesn't have the same configuration.
Thanks for the clarification. Because I didn't expect this at all it
took me some time to understand that a local config affects also the
diffs already committed, not only "git diff" of uncommitted changes.
Neat.
But aren't there still things lost when one does this only locally?
1) The web browser view of the git repos
http://orgmode.org/w/org-mode.git, its delayed mirror
http://repo.or.cz/w/org-mode.git and http://repo.or.cz/w/Worg.git
(for code/elisp/): Can be solved by configuring these three
repos locally.
2) When reading patches submitted to the mailing list: Here I don't
know the solution. In my simple trial, .gitattributes was not
available in its clone done afterwards.
@Jason and Matt: At least, changing 1) alone would already help. What
do you think?
Michael
next prev parent reply other threads:[~2011-08-27 9:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-31 11:49 git diff: hunk header config Michael Brand
2011-08-20 16:12 ` Michael Brand
2011-08-20 21:47 ` suvayu ali
2011-08-24 10:39 ` Bastien
2011-08-24 19:20 ` Michael Brand
2011-08-24 19:37 ` Achim Gratz
2011-08-27 9:15 ` Michael Brand [this message]
2011-08-27 9:44 ` Achim Gratz
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=CALn3zogTRbxvoMLPup13owowVe0qUkbBjirweo--oY12HUZmsQ@mail.gmail.com \
--to=michael.ch.brand@gmail.com \
--cc=Stromeko@nexgo.de \
--cc=emacs-orgmode@dunsmor.com \
--cc=emacs-orgmode@gnu.org \
--cc=mdl@imapmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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.