Commit Graph

12 Commits (b0b74cedc47f7111bae463ecb49f9594b6bc3f32)

Author SHA1 Message Date
Slávek Banko 041fa76284
switch_all_submodules_to_head_and_clean: Clean up abandoned worktrees
before adding a new worktree.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5b81e0aa93)
4 years ago
Slávek Banko 69b26c84a1
Update switch_all_submodules_to_head_and_clean
+ 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>
(cherry picked from commit 065e9e0936)
7 years ago
Slávek Banko 6bd7ced274
Update switch_all_submodules_to_head_and_clean
+ 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>
(cherry picked from commit 9bb83bf90c)
7 years ago
Slávek Banko d18eea7c87 Update switch_all_submodules_to_head_and_clean:
+ add support for cloning repositories via ssh

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f50efa7e80)
7 years ago
Slávek Banko 7bfde00c31 Update switch_all_submodules_to_head_and_clean
+ add cleaning of potential temporary branches from remote server

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a04af55867)
7 years ago
Slávek Banko 9e77d9c754 Revamp switch_all_submodules_to_head_and_clean
+ 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>
(cherry picked from commit 8fb500ce46)
7 years ago
Slávek Banko dd6b89a14a switch_all_submodules_to_head_and_clean: Add support to clone from mirror
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 980d8ea3f8)
9 years ago
Slávek Banko 24b5078acd switch_all_submodules_to_head_and_clean: Use --rebase on git pull
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 916d3c9355)
9 years ago
Slávek Banko 47fb38fad7 Added ignore-submodules flag, depending on the GIT version
(cherry picked from commit 7e23a1ee30)
12 years ago
Timothy Pearson b0a915240f Remove ignore-submodules flag from git commands in order to support older GIT versions
(cherry picked from commit 3f91377dc9f4caf3269679045215de90c8491b77)
12 years ago
Slávek Banko 4816dfe852 Scripts: Fix branch detection with git older than 1.7.10 13 years ago
Slávek Banko bb470b8851 Added submodules for v3.5.13-sru branch
Added flat listing of submodules
Updated GIT readme file
Added scripts
13 years ago