فهرست منبع

chore: Update version to 1.2

This commit updates the version of the ai-rebase script and
related files from 1.1 to 1.2. This reflects minor improvements
and bug fixes implemented since the last release.
seno 10 ماه پیش
والد
کامیت
9042f93bbe
3فایلهای تغییر یافته به همراه2 افزوده شده و 16 حذف شده
  1. 1 1
      Makefile
  2. 1 12
      ai-rebase.sh
  3. 0 3
      git_rebase_ai.py

+ 1 - 1
Makefile

@@ -3,7 +3,7 @@
 # === Variables ===
 # Override these on the command line like: make build IMAGE_TAG=2.0
 IMAGE_NAME ?= senomas/git-rebase
-IMAGE_TAG  ?= 1.1
+IMAGE_TAG  ?= 1.2
 # Full image reference used in commands
 FULL_IMAGE_NAME = $(IMAGE_NAME):$(IMAGE_TAG)
 

+ 1 - 12
ai-rebase.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 set -e
-VERSION=1.1
+VERSION=1.2
 
 echo "AI-Rebase v$VERSION"
 
@@ -15,17 +15,6 @@ if [ ! -f "$HOME/.git-credentials" ]; then
 	exit 1
 fi
 
-if [ ! "$1" = "--delete-backups" ]; then
-	IFS='/' read -r part1 part2 <<<"$1"
-
-	if [ -z "$part1" ] || [ -z "$part2" ]; then
-		echo no fetch
-	else
-		echo git fetch $part1 $part2
-		git fetch $part1 $part2
-	fi
-fi
-
 docker run --rm -it \
 	-v "$(pwd):/repo" \
 	-v "$HOME/.gitconfig:/home/appuser/.gitconfig:ro" \

+ 0 - 3
git_rebase_ai.py

@@ -1548,9 +1548,6 @@ def main():
         logging.error("This script must be run from within a Git repository.")
         sys.exit(1)
 
-    if not check_git_status():
-        sys.exit(1)  # Exit if working directory is not clean
-
     # Handle --delete-backups flag first
     if args.delete_backups:
         current_branch = get_current_branch()