Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ChangeLog (was Re: bug with named pipes and process substitution)
- X-seq: zsh-workers 35876
 
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
 
- To: Kamil Dudka <kdudka@xxxxxxxxxx>
 
- Subject: Re: ChangeLog (was Re: bug with named pipes and process substitution)
 
- Date: Thu, 23 Jul 2015 22:01:58 +0000
 
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
 
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=	daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to	:message-id:mime-version:references:subject:to:x-sasl-enc	:x-sasl-enc; s=mesmtp; bh=tDc+jL3hJDoHFVgwINdXly1ShhQ=; b=FsFc4g	p7Ew5d8M/bg5TWfEswMIsPTA7F22w6ar17WNjYhbMG1F45po19HSx86UKsQv6vpL	NYl7JHXRiXvyI+128HJ5YG+YicK7ym9ZOLK9bbqKAYM5Sa+mv61c4aA/AxA8X3jK	rDh1TqHrouWYmW9QoDlfq99l79qDy0IwRcjZo=
 
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=	messagingengine.com; h=cc:content-type:date:from:in-reply-to	:message-id:mime-version:references:subject:to:x-sasl-enc	:x-sasl-enc; s=smtpout; bh=tDc+jL3hJDoHFVgwINdXly1ShhQ=; b=Vnnh3	GiXzyR9z39X0k2ZC8NYAnHTr79EnDtGhZ7HNqwR82Lrwu/UBmsTWl1UVkrEPdKnb	EwjOyeYzcH0PY7NlWf/Cyy28TWWZkKWx+WuL9a56rapO95J4nT23OlDVa1EVC3Lm	Rd51o57lCqlkDptnWm72rn6FE7WiJ4iQAbai9Q=
 
- In-reply-to: <8670404.a7CRMdDY00@kdudka.brq.redhat.com>
 
- List-help: <mailto:zsh-workers-help@zsh.org>
 
- List-id: Zsh Workers List <zsh-workers.zsh.org>
 
- List-post: <mailto:zsh-workers@zsh.org>
 
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
 
- References: <CAA+L57VhrJWyaxpr_iKjkjzYEeEx1YCrEmO02CkAJPtmDwQbsw@mail.gmail.com> <CAHYJk3THEk_kQgbbu3a2cMKwWsh5_TOAXQie5bwfMhn2crMykQ@mail.gmail.com> <150722184618.ZM339@torch.brasslantern.com> <8670404.a7CRMdDY00@kdudka.brq.redhat.com>
 
Kamil Dudka wrote on Thu, Jul 23, 2015 at 10:15:40 +0200:
> On Wednesday 22 July 2015 18:46:18 Bart Schaefer wrote:
> > On Jul 23,  3:03am, Mikael Magnusson wrote:
> > }
> > } > "git stash"-ing all my changes to re-apply after sourceforge is back.
> > }
> > } Why would you do that rather than just committing them?
> > 
> > Because (a) I spent the last six days thinking "gee, they've got to be
> > back on line any minute now" and (b) I prefer to "git pull" and then
> > edit the ChangeLog to reduce the chances of a conflict on ChangeLog,
> > because (c) even with --rebase I find the way git handles overlapping
> > diffs in a file that grows at the top to be really annoying and (d) I
> > want the ChangeLog entry to be the same commit as the rest of the diff.
> 
> Do the ChangeLog entries actually capture anything that commit messages
> can not?  Would not it be better to just generate ChangeLog from git log?
> 
> Unlike ChangeLog as a text file, a conflict on commit messages can never 
> happen.
> 
That's what I do: locally I have just the log messages, and I generate
the ChangeLog from them prior to pushing.  (I just reuse the first
sentence verbatim, but any transformation could be substituted.)
An alternative is to use a custom merge tool that automatically resolves
conflicts on ChangeLog, and defers to the default merge tool for
conflicts on other files.  I think http://svn.apache.org/r1491816 is
exactly the sort of functionality that would be useful for the ChangeLog
file: it just concatenates the "<<<<<<" and ">>>>>>" sides of the
conflict.
(I don't know if git has equivalent functionality built-in, however,
I do know that mergetools are configurable so I think custom mergetool
could implement equivalent functionality.)
> Kamil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author