From 2874c2331c7d24eac5f38febe3a38964ed7dac42 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 5 Feb 2010 12:57:48 +0100 Subject: Make the commit message for upstream imports configurable. This adds the import-msg commandline and configuration file option to change the commit message. Closes: #474457 --- docs/chapters/import.sgml | 7 +++++++ docs/manpages/git-import-orig.sgml | 9 +++++++++ 2 files changed, 16 insertions(+) (limited to 'docs') diff --git a/docs/chapters/import.sgml b/docs/chapters/import.sgml index 3da7bd35..079ea334 100644 --- a/docs/chapters/import.sgml +++ b/docs/chapters/import.sgml @@ -74,6 +74,13 @@ by version number. (orig.tar.gz) from &git; you should also specify the option. This is recommended. + To customize the commit message used by &git-import-orig; use + the option. This string is a standard + python format string, into which the + version variable is interpolated. (i.e., + use %(version)s in your message to get + the imported upstream version). + diff --git a/docs/manpages/git-import-orig.sgml b/docs/manpages/git-import-orig.sgml index 84811b48..102f3831 100644 --- a/docs/manpages/git-import-orig.sgml +++ b/docs/manpages/git-import-orig.sgml @@ -118,6 +118,15 @@ default is upstream/<version> + + msg-format + + + use this format string for the commit message when + importing upstream versions, default is Imported + Upstream version %(version)s + + pattern -- cgit v1.2.3