Page MenuHomeFreeBSD

D52681.id162583.diff
No OneTemporary

D52681.id162583.diff

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,9 @@
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"
+ 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

Mime Type
text/plain
Expires
Fri, Sep 25, 5:24 AM (14 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39581636
Default Alt Text
D52681.id162583.diff (713 B)

Event Timeline