Commit Graph

65 Commits (edba325a3eb8f654d9b881c711ce9b9d9d3a3058)

Author SHA1 Message Date
DL6ER 1d60b62e7a
Testing alternative way of fetching/checking out of a single branch
7 years ago
Dan Schaper 41e1e4cb68
Rearrange pull logic, some optimization.
7 years ago
Dan Schaper d5b88e0df8
Get the right name for the options.
7 years ago
Dan Schaper 20fd61468d
Require branch to check out
7 years ago
Dan Schaper 0a0d25dff4
Script runs in subshell, no need to cd back to pwd.
7 years ago
DL6ER 81a1057cac
Fix something Dan has overlooked
7 years ago
DL6ER fd310c6445
Back to how we had it before, because --unshallow does not work at all
7 years ago
Dan Schaper a9b52518bf
Shift numbers for argument identifiers, functions are called after `shift`
7 years ago
Dan Schaper 87da40068c
Always `exit`ed with value 1, now exits with proper value.
7 years ago
Dan Schaper b8f1eadb7f
Shift off `checkout` from being passed to script from `pihole`
7 years ago
Dan Schaper b522d8eaf6
Source and reuse existing variables, centralize code.
7 years ago
Dan Schaper 89ff99322d
Don't need to remember `pwd` inside a function, calling function doesn't change directories.
7 years ago
Dan Schaper 56e17d1010
Source functions and variables from basic-install.sh
7 years ago
DL6ER d2ab0694b7
Add "master" shortcut
7 years ago
DL6ER 8a14a63d5d
Pi-hole checkout feature
7 years ago