diff options
author | Lukas Larsson <[email protected]> | 2013-02-13 16:25:43 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-02-13 16:25:43 +0100 |
commit | 7505ceff94dddb325543e32f3b8471a608097dc9 (patch) | |
tree | 9453b92c4c8965881f78906e5d59837a009c15f1 /erts/emulator/beam | |
parent | 14254702c27e9010f65cab69cd2829b00012d7ff (diff) | |
parent | 3e95d5f8e4a348efbb8fb1036da3fa9368c75ae2 (diff) | |
download | otp-7505ceff94dddb325543e32f3b8471a608097dc9.tar.gz otp-7505ceff94dddb325543e32f3b8471a608097dc9.tar.bz2 otp-7505ceff94dddb325543e32f3b8471a608097dc9.zip |
Merge branch 'lukas/erts/add_sha_to_shell_title/OTP-10838'
* lukas/erts/add_sha_to_shell_title/OTP-10838:
Include git sha in prompt if available
Diffstat (limited to 'erts/emulator/beam')
-rwxr-xr-x | erts/emulator/beam/erl_bif_info.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_bif_info.c b/erts/emulator/beam/erl_bif_info.c index a601e4fb39..8582a8954b 100755 --- a/erts/emulator/beam/erl_bif_info.c +++ b/erts/emulator/beam/erl_bif_info.c @@ -69,7 +69,11 @@ static char erts_system_version[] = ("Erlang " ERLANG_OTP_RELEASE " [no-c-stack-objects]" #endif #ifndef OTP_RELEASE +#ifdef ERLANG_GIT_VERSION + " [source-" ERLANG_GIT_VERSION "]" +#else " [source]" +#endif #endif #ifdef ARCH_64 #if HALFWORD_HEAP |