git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: git@vger.kernel.org
Subject: Strict ordering by date
Date: Sat, 30 Dec 2006 17:03:31 -0800	[thread overview]
Message-ID: <45970C63.1020509@zytor.com> (raw)

Hi all,

I have added a --pretty=rpm option to git in order to automatically 
generate the changelog for an RPM specfile.  So far, so good. 
Unfortunately, rpmbuild is very picky and will simply refuse to run, at 
all, if any of the entries are out of reverse chronological order.  When 
dealing with merges or cherrypicking -- or, for that matter, a commit 
done with a broken time setting -- this doesn't work with either 
--date-order or --topo-order.

(And yes, this is an rpmbuild misfeature.)

I've tried to add a --strict-date-order option, but it's not clear at 
what point -- if any -- we actually have the full list of entries to 
display.  It doesn't seem to happen anywhere inside revision.c.

Any pointers appreciated.

	-hpa

                 reply	other threads:[~2006-12-31  1:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=45970C63.1020509@zytor.com \
    --to=hpa@zytor.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).