]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-svn: dcommit prints out the URL to be committed to
authorEric Wong <normalperson@yhbt.net>
Thu, 23 Aug 2007 05:14:31 +0000 (22:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Aug 2007 06:41:36 +0000 (23:41 -0700)
This will print out the URL that dcommit will operate on.
If used with --dry-run this will print out the URL without
making changes to the repository.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl

index d162114e26d64ff6a8a63dd8ff5d795c476868d4..7a8ffd522799e79aded50d796c7f313fc6a200c6 100755 (executable)
@@ -370,6 +370,7 @@ sub cmd_dcommit {
        $head ||= 'HEAD';
        my @refs;
        my ($url, $rev, $uuid, $gs) = working_head_info($head, \@refs);
+       print "Committing to $url ...\n";
        unless ($gs) {
                die "Unable to determine upstream SVN information from ",
                    "$head history\n";