Skip to content

Commit e43bb2b

Browse files
author
Gusted
authored
Add info about Wire 2 when Git over SSH (#20619)
- Follow up of #20616. Add a note about this in the config cheat sheet, given there's no dedicated page for this.
1 parent 8740631 commit e43bb2b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

custom/conf/app.example.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ ROUTER = console
632632
;GC_ARGS =
633633
;;
634634
;; If use git wire protocol version 2 when git version >= 2.18, default is true, set to false when you always want git wire protocol version 1
635+
;; To enable this for Git over SSH when using a OpenSSH server, add `AcceptEnv GIT_PROTOCOL` to your sshd_config file.
635636
;ENABLE_AUTO_GIT_WIRE_PROTOCOL = true
636637
;;
637638
;; Respond to pushes to a non-default branch with a URL for creating a Pull Request (if the repository has them enabled)

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,8 @@ Default templates for project boards:
964964
- `COMMITS_RANGE_SIZE`: **50**: Set the default commits range size
965965
- `BRANCHES_RANGE_SIZE`: **20**: Set the default branches range size
966966
- `GC_ARGS`: **\<empty\>**: Arguments for command `git gc`, e.g. `--aggressive --auto`. See more on http://git-scm.com/docs/git-gc/
967-
- `ENABLE_AUTO_GIT_WIRE_PROTOCOL`: **true**: If use Git wire protocol version 2 when Git version >= 2.18, default is true, set to false when you always want Git wire protocol version 1
967+
- `ENABLE_AUTO_GIT_WIRE_PROTOCOL`: **true**: If use Git wire protocol version 2 when Git version >= 2.18, default is true, set to false when you always want Git wire protocol version 1.
968+
To enable this for Git over SSH when using a OpenSSH server, add `AcceptEnv GIT_PROTOCOL` to your sshd_config file.
968969
- `PULL_REQUEST_PUSH_MESSAGE`: **true**: Respond to pushes to a non-default branch with a URL for creating a Pull Request (if the repository has them enabled)
969970
- `VERBOSE_PUSH`: **true**: Print status information about pushes as they are being processed.
970971
- `VERBOSE_PUSH_DELAY`: **5s**: Only print verbose information if push takes longer than this delay.

0 commit comments

Comments
 (0)