From 1b1589e0467270a2dc0dac01e4e9b6f648cbb58e Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Thu, 8 Mar 2018 15:49:28 +0400 Subject: [PATCH] =?UTF-8?q?pff:=20ne=20pousser=20que=20si=20un=20remote=20?= =?UTF-8?q?est=20d=C3=A9fini=20pour=20la=20branche?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pff b/pff index 3793b74..3e30cb2 100755 --- a/pff +++ b/pff @@ -1102,7 +1102,7 @@ $(qvals eimportant "Sinon, tapez abort pour arrĂȘter l'intĂ©gration de cette ver fi if [ -n "$commit" ]; then git add -A && git commit -m "$msg" || return - if [ -z "$UTOOLS_VCS_OFFLINE" ]; then + if [ -z "$UTOOLS_VCS_OFFLINE" -a -n "$(git_get_branch_remote)" ]; then git push fi fi