erg-lang / erg

A statically typed language compatible with Python
http://erg-lang.org
Apache License 2.0
2.69k stars 55 forks source link

Git hash tags in REPL disappear #344

Closed C-BJ closed 1 year ago

C-BJ commented 1 year ago

Describe the bug?

image

Reproducible code

No response

Expected result

No response

Actual result

No response

Additional context

No response

Erg version

0.6.1

Python version

Python3.11.x

OS

Windows 11

mtshiba commented 1 year ago

I think this isn't Erg's problem but a problem with git installed in your computer.

C-BJ commented 1 year ago

I think this isn't Erg's problem but a problem with git installed in your computer.

But I installed it via cargo

mtshiba commented 1 year ago

The build script runs git rev-parse --short HEAD to get the git hash number. Erg just shows the result.

C-BJ commented 1 year ago

image

C-BJ commented 1 year ago

The build script runs git rev-parse --short HEAD to get the git hash number. Erg just shows the result.

I install it from the cargo. Is there no git information causing this error?