From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: git diff: hunk header config Date: Sat, 27 Aug 2011 11:15:04 +0200 Message-ID: References: <87y5yivbw1.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxEyq-0003XE-0w for emacs-orgmode@gnu.org; Sat, 27 Aug 2011 05:15:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxEyo-0007tz-F7 for emacs-orgmode@gnu.org; Sat, 27 Aug 2011 05:15:07 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:44939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxEyo-0007sN-7V for emacs-orgmode@gnu.org; Sat, 27 Aug 2011 05:15:06 -0400 Received: by wyi11 with SMTP id 11so3405979wyi.0 for ; Sat, 27 Aug 2011 02:15:05 -0700 (PDT) In-Reply-To: <87y5yivbw1.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz , Jason Dunsmore , Matt Lundin Cc: Org Mode Hi Achim, Jason and Matt On Wed, Aug 24, 2011 at 21:37, Achim Gratz wrote: > Michael Brand 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