mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
Revert spelling correction in GitSetup script
A recent merge request corrected several spelling errors in VTK-m. One such correction was in the git-gitlab-sync script in the Utilities/GitSetup directory. This commit reverts the change in this specific file for two reasons. 1. The changed introduced a \' inside a single quote string (to correct cant to can't). However, single quotes in shell scripts do not allow you to escape characters like that, and thus this causes an error when running the script. 2. This script actually comes from a separate repository (https://gitlab.kitware.com/utils/gitsetup) that we occasionally syncronize with. To prevent confusion, we should minimize the divergence between this repository and that one. If someone wants to make this change, it should really be made in the GitSetup repository.
This commit is contained in:
parent
bfc66729ff
commit
394369368c
@ -64,7 +64,7 @@ test -n "$remote" || remote="gitlab"
|
||||
# Identify and validate the topic branch name.
|
||||
head="$(git symbolic-ref HEAD)" && topic="${head#refs/heads/}" || topic=''
|
||||
if test -z "$topic" -o "$topic" = "master"; then
|
||||
die 'You can\'t sync the master branch, please checkout the correct a branch with:
|
||||
die 'You cant sync the master branch, please checkout the correct a branch with:
|
||||
git checkout <branch>'
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user