mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
5162e69732
Between AsciiDoc 8.2.2 and 8.2.3, the following change was made to the stock Asciidoc configuration: @@ -149,7 +153,10 @@ # Inline macros. # Backslash prefix required for escape processing. # (?s) re flag for line spanning. -(?su)[\\]?(?P<name>\w(\w|-)*?):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])= + +# Explicit so they can be nested. +(?su)[\\]?(?P<name>(http|https|ftp|file|mailto|callto|image|link)):(?P<target>\S*?)(\[(?P<attrlist>.*?)\])= + # Anchor: [[[id]]]. Bibliographic anchor. (?su)[\\]?\[\[\[(?P<attrlist>[\w][\w-]*?)\]\]\]=anchor3 # Anchor: [[id,xreflabel]] This default regex now matches explicit values, and unfortunately in this case gitlink was being matched by just 'link', causing the wrong inline macro template to be applied. By renaming the macro, we can avoid being matched by the wrong regex. Signed-off-by: Dan McGee <dpmcgee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
34 lines
801 B
Text
34 lines
801 B
Text
git-shell(1)
|
|
============
|
|
|
|
NAME
|
|
----
|
|
git-shell - Restricted login shell for GIT-only SSH access
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git-shell' -c <command> <argument>
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
This is meant to be used as a login shell for SSH accounts you want
|
|
to restrict to GIT pull/push access only. It permits execution only
|
|
of server-side GIT commands implementing the pull/push functionality.
|
|
The commands can be executed only by the '-c' option; the shell is not
|
|
interactive.
|
|
|
|
Currently, only the `git-receive-pack` and `git-upload-pack` commands
|
|
are permitted to be called, with a single required argument.
|
|
|
|
Author
|
|
------
|
|
Written by Linus Torvalds <torvalds@osdl.org>
|
|
|
|
Documentation
|
|
--------------
|
|
Documentation by Petr Baudis and the git-list <git@vger.kernel.org>.
|
|
|
|
GIT
|
|
---
|
|
Part of the linkgit:git[7] suite
|