From 94b241296765404453a2e087d9a888323eb6bbe0 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Fri, 24 Apr 2020 12:17:48 -0400 Subject: Use "local tree" instead of "undefined" This is our fail-through treename, so if we weren't able to figure out anything about it, then call it a "local tree" instead of "undefined". Signed-off-by: Konstantin Ryabitsev --- b4/ty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b4/ty.py b/b4/ty.py index 8c61cd2..33baddb 100644 --- a/b4/ty.py +++ b/b4/ty.py @@ -243,7 +243,7 @@ def set_branch_details(gitdir, branch, jsondata, config): # Something went wrong... just use the whole URL jsondata['treename'] = binfo['url'] else: - jsondata['treename'] = 'undefined' + jsondata['treename'] = 'local tree' return jsondata, config -- cgit v1.2.3