git-svn: preserve uncommitted changes after dcommit
[gitweb.git] / git-svn.perl
index 6feae56c0eb9856f018da33a4a1461be7c01373d..bb8935afe6ab9eb67ae19b13a040cebe54246c37 100755 (executable)
@@ -623,7 +623,7 @@ sub dcommit {
        } else {
                print "No changes between current HEAD and $gs\n",
                      "Hard resetting to the latest $gs\n";
-               @finish = qw/reset --hard/;
+               @finish = qw/reset --mixed/;
        }
        sys('git', @finish, $gs);
 }