Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-06-02 14:56:30 +0200
committerMichal Marek <mmarek@suse.cz>2011-07-25 12:26:04 +0200
commit04cbe404138f8942a9a459b555f206740225e215 (patch)
treea8ccb702f0fe349f1d3244570212b2449c72f422
parent9502a1ce05f2ee18a47dc53d90ef20abe46ddf07 (diff)
mainline-commit: Treat 3.0.0-rcX as 3.0-rcX
-rwxr-xr-xscripts/mainline-commit7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/mainline-commit b/scripts/mainline-commit
index 7e2954fff2..3463e11f48 100755
--- a/scripts/mainline-commit
+++ b/scripts/mainline-commit
@@ -209,6 +209,10 @@ get_base_id()
fi
local is_stable=false
case "$base" in
+ 3.0.0-rc*)
+ base=${base/.0-/-}
+ esac
+ case "$base" in
2.6.11.*)
# The history tree has 2.6.11.y up to 2.6.11.5; but there
# is no tree for the rest and I don't plan to create any
@@ -217,9 +221,6 @@ get_base_id()
2.6.*-rt*)
fetch_from "tip/linux-2.6-tip.git"
;;
- 3.0.0*)
- fetch_from "torvalds/linux-2.6.git" "$base"
- ;;
2.6.*.* | [3-9].*.* | [1-9][0-9].*.* )
is_stable=true
if ! fetch_from "stable/linux-${base%.*}.y.git" "$base"; then