Commit Graph

10 Commits

Author SHA1 Message Date
Alex Schroeder
def2a4b1e0 git.pl: Some significant changes.
Added: $GitPageFile variable. Set it to true if you want to keep
complete page files in git and not just text.

Fixed: previously git extension was chdir-ing into $GitRepo directory
without ever going back, this could have lead to problems if some other
code needed access to file system.

Fixed: now this extension will work smoothly if $DataDir is set to a
relative path.

Fixed: this extension was probably broken for wiki pages starting with
two dashes (e.g. --SomePage), this is now fixed by using -- to indicate
the end of command-line options.

Changed: GitCleanup is now using GitRun instead of backticks (like
everywhere else). It will also print the exit status of 'git commit'
command.

Changed: some tiny style improvements.
2014-07-30 14:06:07 +02:00
Alex Schroeder
2811de0668 Add git action to call GitCleanup directly. Add more print statements explaining what git is doing. 2013-02-28 10:44:26 +01:00
Alex Schroeder
7783d26bdf git.pl: run "git add ." as part of maintenance. 2012-08-14 21:41:19 +02:00
Alex Schroeder
1ae6fcf08b Renamed $GitDir to $GitRepo. 2011-11-20 22:52:18 +00:00
Alex Schroeder
6590c976f8 *** empty log message *** 2011-11-05 13:19:06 +00:00
Alex Schroeder
e7814a0f38 * git.pl (GitCleanup): Get rid of git add --all and use
git commit -a instead.
2011-11-04 22:59:03 +00:00
Alex Schroeder
ac9a76b5be *** empty log message *** 2011-11-04 22:42:26 +00:00
Alex Schroeder
a476f8ec29 (GitNewSave, GitNewDeletePage, GitCleanup): Use $GitMail. 2011-10-23 19:16:38 +00:00
Alex Schroeder
7f2279aa71 ($GitMail): New option.
(GitInitRepository): Use it.
2011-10-23 18:11:29 +00:00
Alex Schroeder
5f095c723a New 2011-10-22 23:17:12 +00:00