From 67421a21fd3a8e0cc6909ca4d96eaa875dd544d7 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 30 Jun 2024 18:10:22 +0100 Subject: trees and git.sh: tidy up global variables some of the variables only initialised in git.sh are also used in the trees script, which is technically ok because git.sh is included from the trees script, but it makes more sense to declare them in the latter. Signed-off-by: Leah Rowe --- include/git.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/git.sh b/include/git.sh index 4e965e04..11e13a6c 100755 --- a/include/git.sh +++ b/include/git.sh @@ -2,8 +2,8 @@ # Copyright (c) 2020-2021,2023-2024 Leah Rowe # Copyright (c) 2022 Caleb La Grange -eval `setvars "" rev loc url bkup_url depend tree_depend mdir subhash subrepo \ - subrepo_bkup subfile subfile_bkup` +eval `setvars "" loc url bkup_url subfile mdir subhash subrepo subrepo_bkup \ + depend subfile_bkup` fetch_targets() { -- cgit v1.2.1