We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I create a toolchain based on the GIT snapshot (ZIP file), then I always get the following message prior compiling:
fatal: not a git repository (or any of the parent directories): .git
Reason is that this script tries to fetch some info using GIT:
https://github.com/esp8266/Arduino/blob/master/tools/makecorever.py
The message does not cause any problems. It just looks ugly.
How do you plan to fix this? Hide the message? I could create a pull request if I know how you want this to be fixed.
The text was updated successfully, but these errors were encountered:
Can you try with:
diff --git a/tools/makecorever.py b/tools/makecorever.py index e7bd3486..659591b5 100755 --- a/tools/makecorever.py +++ b/tools/makecorever.py @@ -26,7 +26,7 @@ def generate(path, platform_path, git_ver="ffffffff", git_desc="unspecified"): def git(*args): cmd = ["git", "-C", platform_path] cmd.extend(args) - proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True) + proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, universal_newlines=True, stderr=DEVNULL) return proc.stdout.readlines()[0].strip() try:
If that suits your need, would you make a pull request ?
Sorry, something went wrong.
Done: #7745
4566400
closed by #7745
No branches or pull requests
Basic Infos
Platform
Settings in IDE
Problem Description
If I create a toolchain based on the GIT snapshot (ZIP file), then I always get the following message prior compiling:
Reason is that this script tries to fetch some info using GIT:
https://github.com/esp8266/Arduino/blob/master/tools/makecorever.py
The message does not cause any problems. It just looks ugly.
How do you plan to fix this? Hide the message? I could create a pull request if I know how you want this to be fixed.
The text was updated successfully, but these errors were encountered: