Age | Commit message (Collapse) | Author |
|
|
|
|
|
Not doing so breaks cia and other things that try to parse a username out
of the email address.
|
|
|
|
The trailer line was a bit complex and ugly;
I think it's better to just put "(web)" after the user
name.
This has a side effect of making web commits with no messages
have a completly empty commit message. Use --cleanup=verbatim
to force git to accept such.
|
|
The committer's email address is not used (because leaking email addresses
is not liked by many users). Closes: #451023
A "Web-commit" trailer is added, to allow telling the difference between
web commits and direct commits.
|
|
The recent setup revamp exposed some latent bugs in use/package ordering
that caused some symbols to not the exported into the correct scope.
|
|
generating recentchanges.
|
|
message when the file doesn't exist.
|
|
This works around a perl crasher bug, and also avoids bloating pages
with enormous diffs.
rcs_recentchanges modified to return a list in an array context.
|
|
If a diff of the firsst commit in a git repo was requested, it would fail and
print to stderr since first^ isn't valid. Using git show will always work.
|
|
correct, and it's certianly not correct now, since the wiki is locked
before rcs_commit is ever called, and should not be unlocked by
rcs_commit either.
|
|
* rcs_diff is a new function that rcs modules should implement.
* Implemented rcs_diff for git, svn, and tla (tla version untested).
Mercurial and monotone still todo.
|
|
the svnrepo and notify settings, though both will be ignored if left in
setup files.
|
|
No point in using a relative time value in rcs_recentchanges. Different
consumers of the info want different things.
|
|
This can legitimately happen when there's a simple merge.
|
|
|
|
There was an undocumented field named "rev", I think "id" is a better name,
and nothing uses it yet.
|
|
|
|
|
|
It doesn't really make sense to do notification from a post-commit hook.
|
|
This is not only called from post-update in all configurations. Also, the
comment was innaccurate about what the post-update hook is passed.
|
|
The -c option to git log/diff-tree produces "merged" diffs with a
different format from normal ones. However, the existing diff-tree
parser only accepted non-merged diff lines. Merged diff lines caused
the parser to get out of sync. This patch adds a full parser for diffs
with any number of parents. See the "DIFF FORMAT FOR MERGES" section in
the git-diff-tree man page for more information.
Signed-off-by: Brian Downing <bdowning@lavos.net>
|
|
|
|
spewing uninitialised value warnings and debug messages about it.
Dummying up a parent of 0000000 allows gitweb to work too.
|
|
|
|
show the full message.
|
|
of -m to git-log, and by skipping display of commits that change no
pages.
|
|
In some configurations, only the main git command is in the path.
|
|
stay the same for the duration of the function.
|
|
|
|
Useful for laptop clones of remote wikis.
|
|
|
|
importing from a svn repo.
|
|
to be passed on to stderr. Also fixes a potential bug, since git error
meesages were treated as if they came from git stdout.
|
|
* Fix --get-ctime with git, needed to remove srcdir from filename.
|
|
|
|
When looking for git commits that affect the wiki, only include changes
that affect the ikiwiki source directory. If that is not the top-level
directory in this git repository, strip off the prefix as given by
`git-rev-parse --show-prefix` from all names reported by git-log.
Patch by Jamey Sharp <jamey@minilop.net>.
|
|
Patch by Jamey Sharp <jamey@minilop.net>.
|
|
Patch by Jamey Sharp <jamey@minilop.net>.
|
|
|
|
file. Closes: #408599
|
|
|
|
|
|
|
|
* Add a test suite for the svn backend.
* Daemonize before sending RPC pings, since that can take a while
and/or hang.
* Daemonize before sending commit mails, as that can also take a long
time/hang if the mail server is unhappy.
* Factor out commit mail sending code into new function.
|
|
|
|
* Web commits by OpenID users will record the full OpenID url for the user,
but in recentchanges, these urls will be converted to a simplified display
form+link.
* Modified svn, git, tla backends to recognise such web commits.
|
|
|
|
|