Skip to content

Commit

Permalink
Updated commit command
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMes committed Nov 1, 2014
1 parent 1ad041f commit ea8c6bf
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#

# Delphi compiler-generated binaries (safe to delete)
*.exe
#*.exe
*.dll
*.bpl
*.bpi
Expand Down
Binary file added GitPush.exe
Binary file not shown.
1 change: 1 addition & 0 deletions NEWS.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Version 5.8.2 - 1 November 2014

- Fixed bug in procedure TMainForm.EditorSaveTimer that corrupted the editor views.
- Updated provided commit command.

Version 5.8.1 - 28 Oktober 2014

Expand Down
2 changes: 1 addition & 1 deletion Source/Tools/GitPush/GitPush.dev
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Folders=
IncludeVersionInfo=0
SupportXPThemes=0
CompilerSet=0
CompilerSettings=0000000000000000000001000
CompilerSettings=0000000000110000000001000
UnitCount=1

[VersionInfo]
Expand Down
10 changes: 6 additions & 4 deletions Source/Tools/GitPush/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ void GitCommit() {
}

void GitPush() {
char buffer[512];
GitExecute("git push origin master");
}

int main() {
// add source files
// Add source files
GitAdd("Source");
GitAdd("devcpp.ico");
GitAdd(".gitignore");
GitAdd("*.nsi");
GitAdd("NEWS.txt");
GitAdd("devcpp.ico");

// Add git files
GitAdd(".gitignore");
GitAdd("GitPush.exe"); // push self

// commit with comment
GitCommit();
Expand Down

0 comments on commit ea8c6bf

Please sign in to comment.