+ Ensure checkout for new upstream branch in worktree mode of tree.
+ To test the availability of repository use curl if it is present.
+ Sign commits using GPG during rebase if the signing key is set.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
which is written to '.tdescminfo'.
Because formatting a date using 'git log' does not return results in UTC,
the unix timestamp is used for git log, and conversion to UTC is done
using 'date'.
It addresses time zone independence to ensure a reproducible build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
+ 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