[Patch] git-svn: support dcommit --preserve-merges

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Need to update git-svn.perl to match Documentation/git-svn.txt so
--preserve-merges|p can be used in dcommit. Similar to
https://github.com/git/git/commit/b64e1f58158d1d1a8eafabbbf002a1a3c1d72929#diff-f9a64e34cbe6c3ee4f62698008a33773R571

Nate.


Documentation/git-svn.txt
 626 -m::
 627 --merge::
 628 -s<strategy>::
 629 --strategy=<strategy>::
 630 -p::
 631 --preserve-merges::
 632         These are only used with the 'dcommit' and 'rebase' commands.


diff --git a/git-svn.perl b/git-svn.perl
index 0a32372..3f981f8 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -197,6 +197,7 @@ my %cmd = (
                          'no-rebase' => \$_no_rebase,
                          'mergeinfo=s' => \$_merge_info,
                          'interactive|i' => \$_interactive,
+                         'preserve-merges|p' => \$_preserve_merges,
                        %cmt_opts, %fc_opts } ],
        branch => [ \&cmd_branch,
                    'Create a branch in the SVN repository',
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]