+ better detection of whether a branch is remote tracked
+ instead of git pull --rebase is used git fetch and git rebase
+ added verification whether the remote server is available
+ do a git checkout only if the required branch is not active
+ added support for creating a 'tde' submodules tree using git worktree
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
+ cleaning of temporary branches combined into one operation along with pull
+ this prevents additional communication with the remote server
+ all remote servers will be fetched and also pruned
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
+ script revised according to update_all_submodules
+ files .gitmodules are processed instead of call git submodule foreach
+ modules are initialized during processing instead of at the beginning
+ initialize submodules only if they have not yet been initialized
+ use --no-recurse-submodules at git pull for better overview of the update progress
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
+ create lock specific by branch
+ initialize submodules only if they have not yet been initialized
+ use --no-recurse-submodules at git pull for better overview of the update progress
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
+ default TARGET is now detected from the TDE core header
+ added check if TARGET is valid for the branch
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
+ submodules file is no longer needed
+ list of submodules is loaded from .gitmodules
+ order of the submodules is determined by .gitmodules
+ nested submodules are processed recursively by .gitmodules
+ all submodules, including nested, are updated in one cycle
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
+ add support for gitfile (submodules with git >= 1.7.8)
+ add gituser detection from git configuration
+ add support for branches
+ various optimizations