git: 6ef66b328a16 - main - ghpr: Fix bogus else

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 21 Apr 2025 22:04:39 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6ef66b328a1666b18c7b832303a940372ffa3754

commit 6ef66b328a1666b18c7b832303a940372ffa3754
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-04-21 22:03:10 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-04-21 22:03:10 +0000

    ghpr: Fix bogus else
    
    The previous commit was pushed in error. Remove 'else fi' that was a
    left-over change that was incomplete and removed. Fix by removing the
    rest of that change that wasn't done.
    
    Sponsored by:           Netflix
---
 tools/tools/git/ghpr/ghpr-push.sh | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/tools/git/ghpr/ghpr-push.sh b/tools/tools/git/ghpr/ghpr-push.sh
index 587a0bb8ff27..a82275ab046b 100644
--- a/tools/tools/git/ghpr/ghpr-push.sh
+++ b/tools/tools/git/ghpr/ghpr-push.sh
@@ -33,10 +33,6 @@ while true; do
       fi
       break
 done
-else
-
-fi
-
 
 # OK, pull and rebase to catchup to these changes...
 git checkout main;