threads / patch / 46175

patchgit-svn: document special options for commit-diff

Subject: [PATCH] git-svn: document special options for commit-diff

## tl;dr

3 messages between Jun 14, 2017 and Jun 15, 2017. Diffs are folded; open one to read it.

replies: 2people: 3as markdown or json

Andreas Heiduk· Jun 14, 2017, 09:31 UTC · lore

Some options specific for `git svn commit-diff` where not documented so far.

Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
---
 Documentation/git-svn.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
Show changes to Documentation/git-svn.txt +15 −0
diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
index fba0b4eec..aa2aeabb6 100644
--- a/Documentation/git-svn.txt
+++ b/Documentation/git-svn.txt
@@ -459,6 +459,21 @@ Any other arguments are passed directly to 'git log'
 	(URL) may be omitted if you are working from a 'git svn'-aware
 	repository (that has been `init`-ed with 'git svn').
 	The -r<revision> option is required for this.
++
+The commit message is supplied either directly with the `-m` or `-F`
+option, or indirectly from the tag or commit when the second tree-ish
+denotes such an object, or it is requested by invoking an editor (see
+`--edit` option below).
+
+-m <msg>;;
+--message=<msg>;;
+	Use the given `msg` as the commit message. This option
+	disables the `--edit` option.
+
+-F <filename>;;
+--file=<filename>;;
+	Take the commit message from the given file. This option
+	disables the `--edit` option.
 
 'info'::
 	Shows information about a file or directory similar to what
-- 
2.13.1
Eric Wong· Jun 15, 2017, 01:21 UTC · re: Andreas Heiduk · lore

Re: [PATCH] git-svn: document special options for commit-diff

Andreas Heiduk <asheiduk@gmail.com> wrote:
> Some options specific for `git svn commit-diff` where not documented
> so far.
> 
> Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
Thanks again.  It's been a while since "commit-diff" :)
Signed-off and pushed for Junio:
  The following changes since commit 02a2850ad58eff6de70eb2dc5f96345c463857ac:
    Sync with maint (2017-06-13 13:52:53 -0700)
  are available in the git repository at:
    git://bogomips.org/git-svn.git svn-doc
  for you to fetch changes up to da446109ff75120a9836d21653e12154e58f8c46:
    git-svn: document special options for commit-diff (2017-06-15 01:09:31 +0000)
  ----------------------------------------------------------------
  Andreas Heiduk (1):
        git-svn: document special options for commit-diff
   Documentation/git-svn.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

← back to recent threads