aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/git.pm
Commit message (Expand)AuthorAge
* only_committed_changes could fail in a git repository merged with git merge -...Joey Hess2014-04-05
* Merge remote-tracking branch 'remotes/smcv/ready/git-push-origin-master'Joey Hess2014-02-23
|\
| * git: explicitly specify the branch to push to origin•••git's behaviour when doing "git push origin" is configurable, and the default is going to change in 2.0. In particular, if you've set push.default to "nothing", the regression test will warn: fatal: You didn't specify any refspecs to push, and push.default is "nothing". 'git push origin' failed: at .../lib/IkiWiki/Plugin/git.pm line 220. Simon McVittie2014-02-21
* | Do not UTF8-escape "/" in Git's diffurl: cgit does not support this.intrigeri2013-12-31
|/
* deal with the case where oldrev is the same as newrevJoey Hess2013-11-16
* fix eqJoey Hess2013-11-16
* Added only_committed_changes config setting, which speeds up wiki refresh by ...Joey Hess2013-11-16
* Pass --no-edit when used with git 1.7.8 and newer.•••Not sure if this is needed to avoid it trying to run an editor. Probably there is never a controlling terminal and probably git notices and does nothing. But I'm just copying what I have in git-annex assistant here. (Although with a much worse git version comparion, that only really works due to luck.) Joey Hess2013-07-10
* Deal with git behavior change in 1.7.8 and newer that broke support for commi...Joey Hess2013-07-10
* Fix some warnigns in recent perls.•••All existing tests pass. Shlomi Fish2012-12-17
* remove debug message•••A file may have no git sha1 if it's in the underlay, or just is not checked into git. This debug message doesn't add any value and is potentially confusing. Joey Hess2012-03-22
* URI escape filename when generating the diffurl.•••ikiwiki source files can contain at least one character that needs to be escaped in an url: + Joey Hess2012-03-13
* fix display of page name in recentchanges after a revert•••When the wiki is in a subdir of the git repo, a web revert would show in recentchanges as eg, doc/index, instead of just index. This happened because decode_git_file caches a $prefix that is dependant on the $git_dir setting, and the revert code runs with a different $git_dir, which polluted the $prefix for later. Fix this by adding a with_git_dir that juggles the variables properly. Joey Hess2012-02-07
* Fix web revert of a file deletion.•••When reverting, an add is a remove, and a remove is an add. Joey Hess2011-09-05
* git: Fix bug involving attempting to web revert a commit that included change...Joey Hess2010-12-29
* bugfixJoey Hess2010-12-29
* Add a second parameter to the rcs_diff hook, and avoid bloating memory readin...Joey Hess2010-12-29
* git: Avoid adding files when committing, so as not to implicitly add files li...Joey Hess2010-11-29
* git: Fix temp file location.Joey Hess2010-11-29
* Use author date instead of commit date•••Signed-off-by: Tuomas Jormola <tj@solitudo.net> Tuomas Jormola2010-10-31
* nice message if someone tries to revert a merge commitJoey Hess2010-10-23
* bugfixJoey Hess2010-10-23
* fix web reversion when the srcdir is in a subdir of the git repo.Joey Hess2010-10-23
* taint handling for revJoey Hess2010-10-08
* remove todo item•••I understand the need to avoid chdir when running git_parse_changes for receive now. At that point, the changes have not been pushed to the srcdir's repo yet. When running the same code for preprevert, chdir to the srcdir is ok, and necessary. Joey Hess2010-10-08
* fix rcs_prepedit implementation to match specJoey Hess2010-10-08
* convert rcs_revert to only stage the reversionJoey Hess2010-10-06
* remove rcs_showpatchJoey Hess2010-10-06
* fix $git_root cachingJoey Hess2010-10-04
* fix indentationJoey Hess2010-10-04
* document new rcs reversion support functionsJoey Hess2010-10-04
* indentationJoey Hess2010-10-04
* fix bug if git_root is "0"Joey Hess2010-10-04
* Minor tidy-ups.Peter Gammie2010-10-01
* Complete rcs_preprevert and lightly test.Peter Gammie2010-10-01
* First cut at the revert plugin.Peter Gammie2010-09-29
* git: When updating from remote, use git pull --prune, to avoid possible error...Joey Hess2010-09-14
* avoid generating receive wrapper if there are no untrusted committers•••The wrapper is pointless in that configuration. Also, the code for it doesn't compile w/o untrusted commiters to test. :) Joey Hess2010-07-26
* git: Fix gitweb historyurl examples so "diff to current" links work. (Thanks ...Joey Hess2010-07-24
* move nickname sanitization out•••Probably best to store it unsanitized and sanitize as needed on use. And it already was for comments, leaving only the need to sanitize the nickname when git committing, to ensure the email address is legal. Joey Hess2010-07-04
* git: Added git_wrapper_background_command option. Can be used to eg, make th...Joey Hess2010-07-01
* bugfixJoey Hess2010-06-23
* finializing openid nickname support•••Renamed usershort => nickname. Note that this means existing user login sessions will not have the nickname recorded, and so it won't be used for those. Joey Hess2010-06-23
* git: Record the username from openid in the git author email. (This avoids di...Joey Hess2010-06-23
* rcs_getctime and rcs_getmtime take relative filenames•••There was some confusion about whether the filename was relative to srcdir or not. Some test cases, and the bzr plugin assumed it was relative to the srcdir. Most everything else assumed it was absolute. Changed it to relative, for consistency with the rest of the rcs_ functions. Joey Hess2010-06-23
* rcs_commit and rcs_commit_staged api changes•••Using named parameters for these is overdue. Passing the session in a parameter instead of passing username and IP separately will later allow storing other session info, like username or part of the email. Note that these functions are not part of the exported API, and the prototype change will catch (most) skew, so I am not changing API versions. Any third-party plugins that call them will need updated though. Joey Hess2010-06-23
* API: rcs_commit and rcs_commit_staged are passed a new parameter•••that may contain the username component of the email address of the user making the commit. Joey Hess2010-06-23
* Add new optional field usershort to rcs_recentchanges.•••Now the git plugin supports commits with author fields that look like: Author: http://my.openid/ <me@web> Then in recentchanges, the short username will be displayed, linking to the openid. Particularly useful for the horrible google openids, of course. Joey Hess2010-06-23
* force list context•••run_or_die returns a status code in scalar context Joey Hess2010-06-16
* git: Gix --gettime to properly support utf8 filenames.•••In passing, fixed a bug where the srcdir was in a subdir of a repository named "0". Joey Hess2010-06-15