Add a New Comment (Rich Markup)
Comment Type & Canned Response: None No canned response available
I have found the cause of the problem: Git 1.6.3 introduces spelling --format=STR to be equivalent to --pretty=format:STR, which is fine for those who have Git 1.6.3 or later.
The fix, then, is to use the more verbose spelling. I have pushed such a change to Savannah and am changing the status to "Ready For Test".
This looks like a version-skew problem with Git. The create-changelog program expects a "git log" command that supports the fancy --format option.
There are two approaches to solve the problem:
(1) require maintainers (or whoever wishes to run create-changelog) to have a sufficiently up-to-date Git installed;
(2) have create-changelog test "git log" capability at runtime and use a fallback strategy if older Git is detected.
Personally, i like (1) because that's easy for me. However, doing (1) does not set a good example and thus is less desirable, so (2) it will be.
pitanga, could you please post version info for the Git you have installed? In the meantime, i will do some archeology on "git log" capabilities to explore the possibilities for (2).
rodrigo@snowball2:~/devel/libredwg/build-aux$ ./create-changelog Loading 00debian-vars... Loading /etc/emacs/site-start.d/50asymptote.el (source)... Loading /etc/emacs/site-start.d/50autoconf.el (source)... Loading /etc/emacs/site-start.d/50cmake.el (source)... Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)... Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)... Loading /etc/emacs/site-start.d/50git-core.el (source)... Loading /etc/emacs/site-start.d/50gtk-doc-tools.el (source)... Loading /etc/emacs/site-start.d/50lilypond-data.el (source)... Loading /etc/emacs/site-start.d/50psvn.el (source)... Generating full history ---------- fatal: unrecognized argument: --format=&B%n%ci%s%n %an <%ae>%n%n %s%n%b%n&E%n
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 5 latest changes.
Copyright © 2022 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9