diff options
author | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-08-29 18:01:02 -0500 |
---|---|---|
committer | flu0r1ne <flu0r1ne@flu0r1ne.net> | 2021-08-29 18:01:02 -0500 |
commit | b5decf314d7219e338fc70af0991a52b1d9faef2 (patch) | |
tree | 7f6ba2c49e07bac99435aa4dc3bce95bbb3f31c3 | |
parent | f000ca24f33409c6f688d170444a6203c53204e5 (diff) | |
download | git-update-agent-b5decf314d7219e338fc70af0991a52b1d9faef2.tar.xz git-update-agent-b5decf314d7219e338fc70af0991a52b1d9faef2.zip |
Regression - not setting remote HEADv0.0.5
-rw-r--r-- | git-update-agent | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-update-agent b/git-update-agent index b0c91f4..c52fdfe 100644 --- a/git-update-agent +++ b/git-update-agent @@ -320,6 +320,8 @@ init_repo() { if ! git fetch --force --tags "$remote" 2>/dev/null; then die "Could not download content from \"$remote_url\" on \"$DEFAULT_BRANCH\"." fi + + git remote set-head "$remote" --auto >/dev/null git checkout "$DEFAULT_BRANCH" @@ -327,7 +329,7 @@ init_repo() { } print_version() { - echo "0.0.4" + echo "0.0.5" } # |