Re: [O] git diff: hunk header config

2011-08-27 Thread Achim Gratz
Michael Brand writes: > 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. Git doesn't "commit diffs", which is why this is working (and

Re: [O] git diff: hunk header config

2011-08-27 Thread Michael Brand
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. Pr

Re: [O] git diff: hunk header config

2011-08-24 Thread Achim Gratz
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 t

Re: [O] git diff: hunk header config

2011-08-24 Thread Michael Brand
On Sat, Aug 20, 2011 at 23:47, suvayu ali wrote: > On Sat, Aug 20, 2011 at 6:12 PM, Michael Brand >> [...] >> "@@ -12991,7 +12991,7 @@ (defun org-align-tags-here (to-col)" >> instead of the current >> "@@ -12991,7 +12991,7 @@ If ONOFF is `on' or `off', don't toggle but set to >> thi" > > [...] >

Re: [O] git diff: hunk header config

2011-08-24 Thread Bastien
Hi folks, suvayu ali writes: > This is a very useful config. Thanks for pointing it out. But don't > you think this is a client side setting? As far as I am aware, > settings don't carry over from the remote repository. Its distributed > versioning after all. :) > > To make this a server side se

Re: [O] git diff: hunk header config

2011-08-20 Thread suvayu ali
Hi Michael, On Sat, Aug 20, 2011 at 6:12 PM, Michael Brand wrote: > 1) Since there has been no feedback yet I'd like to bump my previous > post repeated below. I would like to have the config of the repo > orgmode.org/org-mode.git to be extended to support more useful diff > hunk headers containi

Re: [O] git diff: hunk header config

2011-08-20 Thread Michael Brand
Hi all 1) Since there has been no feedback yet I'd like to bump my previous post repeated below. I would like to have the config of the repo orgmode.org/org-mode.git to be extended to support more useful diff hunk headers containing e. g. the prototype of the current function for *.el files. Like

[O] git diff: hunk header config

2011-07-31 Thread Michael Brand
Hi all I suggest to change the config of git diff in the org-mode.git repo to the more helpful hunk header (the @@...@@ line) style: #+begin_src diff @@ -12991,7 +12991,7 @@ (defun org-align-tags-here (to-col) (goto-char (match-beginning 1)) (insert " ") (delete-regi