diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-06 23:03:44 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-07 09:41:16 -0700 |
commit | 13f08e9d36de02c54283993d2bd035adf13f0411 (patch) | |
tree | 8270a1dfe4916b9e70e173f4b2957d86e56e9e12 /bin/git-dotfiles-update-master | |
parent | e27b9fcc8e89e847a4c7f7f6a80cc15e991dd260 (diff) | |
download | dotfiles-13f08e9d36de02c54283993d2bd035adf13f0411.tar.gz |
bin/: some straightforward tidying up
Diffstat (limited to 'bin/git-dotfiles-update-master')
-rwxr-xr-x | bin/git-dotfiles-update-master | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/git-dotfiles-update-master b/bin/git-dotfiles-update-master index 6b575f2d..17d3e99d 100755 --- a/bin/git-dotfiles-update-master +++ b/bin/git-dotfiles-update-master @@ -12,7 +12,7 @@ set -e # To update a shallow clone we would do 'git fetch --depth 1' and then 'git # reset --hard origin/master'. But that would leave us vulnerable to an # attacker causing us to check out an older signed commit than the one we have -# now. So require an explicit 'git unshallow' from the user, or get +# now. So require an explicit 'git fetch --unshallow' from the user, or get # Consfigurator to update repo from a snapshot from laptop, or something. if [ "$(git rev-parse --is-shallow-repository)" = "true" ]; then echo >&2 "shallow dotfiles clone; refusing to reset to origin/master" |