Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

origin/master : nombre entier attendu comme expression #543

Open
quoidautre opened this issue Dec 30, 2023 · 1 comment
Open

origin/master : nombre entier attendu comme expression #543

quoidautre opened this issue Dec 30, 2023 · 1 comment

Comments

@quoidautre
Copy link

quoidautre commented Dec 30, 2023

Hi,
I have just cloned the repo, and, I simply change directory, there's an error message :

bash: test: origin/master : nombre entier attendu comme expression
✔ ~/.bash-git-prompt [master {.}|] 
12:57 $

me@me:/var/www/$ cd git/git-internals/
bash: test: ^ : nombre entier attendu comme expression

12:59 $ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"
bash: test: origin/master : nombre entier attendu comme expression

Have you an idea please ?
Thanks a lot.

Regards,
F.

@EricDepagne
Copy link

Without more info it' s difficult to find out why, but I' m guessing it has to do with your locale. French digits use a comma, english ones a dot, and thay may confuse some comparison logic somewhere.
Try to set your locale to C and see if that error disappears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants