According to the manpage, it's deprecated, so use --set-upstream-to
instead.

Signed-off-by: Sean Paul <[email protected]>
---
 dim | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dim b/dim
index 171557774ea4..7cb22bb85d14 100755
--- a/dim
+++ b/dim
@@ -1277,7 +1277,9 @@ function dim_create_branch
        fi
 
        $DRY git branch $branch $start
-       $DRY git push $remote +$branch --set-upstream
+       $DRY git push $remote +$branch
+       $DRY git checkout $branch
+       $DRY git branch --set-upstream-to="$remote/$branch"
 
 
        cd $DIM_PREFIX/drm-rerere
-- 
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dim-tools mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Reply via email to