Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-12-21 00:37:44 +0300
committerJunio C Hamano <gitster@pobox.com>2023-12-21 00:37:44 +0300
commit18571e56f781a970522aca4cbdbd612fb1009f88 (patch)
treea330312d09b2ec7f567e76d4467ef5923173be41
parent8e24d41a26e3ce482016bba1f56dba5d6b84a660 (diff)
Meta/RB: retire unused script that was written long time ago
-rwxr-xr-xRB48
1 files changed, 0 insertions, 48 deletions
diff --git a/RB b/RB
deleted file mode 100755
index c557b06971..0000000000
--- a/RB
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-master_sha1=`git rev-parse --verify refs/heads/master`
-LF='
-'
-(cd .git/refs/heads && find -type f) |
-sed -n \
- -e 's/^\.\///' \
- -e '/^[^\/][^\/]\//p' |
-while read topic
-do
- case " $* " in
- *' '"$topic"' '*)
- echo >&2 "* Skipping $topic"
- continue ;;
- esac
-
- rebase= done= not_done= trouble= date=
- topic_sha1=`git rev-parse --verify "refs/heads/$topic"`
-
- date=`
- git rev-list -1 --pretty "$topic" |
- sed -ne 's/^Date: *\(.*\)/ (\1)/p'
- `
- only_next_1=`git rev-list ^master "^$topic" next | sort`
- only_next_2=`git rev-list ^master next | sort`
- rebase=
- if test "$only_next_1" = "$only_next_2"
- then
- not_in_topic=`git rev-list "^$topic" master`
- if test -z "$not_in_topic"
- then
- :; # already up-to-date.
- else
- rebase=" (can be rebased)"
- fi
- fi
- if test -n "$rebase"
- then
- echo "Rebasing $topic to pick up:"
- git rev-list --pretty=oneline "^$topic" master |
- sed -e 's/^[0-9a-f]* / * /'
- git checkout "$topic" &&
- git rebase master || break;
- fi
-done
-
-