-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Git integration inside the IDE (commit only) #4704
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
Conversation
@ArduinoBot build this please |
private String[] getArgsForProcess(String command) { | ||
String[] args = new String[3]; | ||
if (OSUtils.isWindows()) { | ||
args[0] = "cmd.exe"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not call directly git?
Ok, it seems that @ArduinoBot is on holidays, so I've tested the patch manually. First, some comments about the patch (I've added some other minor notes inline in the commits too)
Now, besides the notes above, It seems that the usecase is very narrow, becuase the user need anyway an external git client to "git clone" the sketch from a remote repository, or "git initialize" it after saving the sketch for the first time. |
The bot is on holidays?? O_o I'd like to test a build when its available. However from what I've heard it might make more sense to just add a command line to the IDE, rather than a "not so useful half complete" git implementation. Because windows users wont use git (or only the bright and shiny github gui) and linux users just know how to use proper software the normal way. |
This add opportunity for commit with one-line message. New item "Commit" locate in Edit menu (I do not know how it wisely). I saw this issue arduino/arduino-ide#1880 and decided to implement this.
Please review and comment my solution.