Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135587201
D52681.id162641.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
757 B
Referenced Files
None
Subscribers
None
D52681.id162641.diff
View Options
diff --git a/tools/tools/git/mfc-candidates.lua b/tools/tools/git/mfc-candidates.lua
--- a/tools/tools/git/mfc-candidates.lua
+++ b/tools/tools/git/mfc-candidates.lua
@@ -138,7 +138,10 @@
local qtr = math.ceil(month / 3)
to_branch = "freebsd/" .. year .. "Q" .. qtr
elseif freebsd_repo == "src" or freebsd_repo == "freebsd-src" then
- to_branch = "freebsd/stable/14"
+ -- Use latest stable branch by default.
+ to_branch = exec_command("git for-each-ref --sort=-v:refname " ..
+ "--format='%(refname:lstrip=2)' " ..
+ "refs/remotes/freebsd/stable/* --count=1")
-- If pwd is a stable or release branch tree, default to it.
local cur_branch = exec_command("git symbolic-ref --short HEAD")
if string.match(cur_branch, "^stable/") then
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 12, 2:06 AM (4 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
22839495
Default Alt Text
D52681.id162641.diff (757 B)
Attached To
Mode
D52681: mfc-candidates: Minor improvements
Attached
Detach File
Event Timeline
Log In to Comment