diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2016-03-15 17:56:43 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2016-03-15 17:58:45 +0100 |
commit | ff36b231535e7dae67878779341b7e52137b8102 (patch) | |
tree | 8b180f93388d1f3b6b5f78992a182ea1fa5dda8f /doc | |
parent | 3ec3dfb6aa7464a9220a75592d6246ac931c0ff1 (diff) | |
download | aurweb-ff36b231535e7dae67878779341b7e52137b8102.tar.xz |
Fix instructions for omitting "have" lines
In 002d348 (Describe how to omit "have" lines, 2015-11-14), we added
instructions on how to omit "have" lines originating from other package
repositories. Fix those instructions such that the HEAD ref of the
repository is transferred properly.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-interface.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/git-interface.txt b/doc/git-interface.txt index 4a24eef..69c558b 100644 --- a/doc/git-interface.txt +++ b/doc/git-interface.txt @@ -89,7 +89,7 @@ so-called "have" lines. This is normally used to reduce traffic but it has the opposite effect in the case of aurweb: Many essentially useless lines are transferred to the Git client during `git push` operations. -In order to omit these advertisements, add the strings "^refs/" and "!refs/" to -the transfer.hideRefs configuration setting. Note that the order of these -patterns is important ("^refs/" must come first) and that Git 2.7 or newer is -required for them to work. +In order to omit these advertisements, add the strings "^refs/", "!refs/" and +"!HEAD" to the transfer.hideRefs configuration setting. Note that the order of +these patterns is important ("^refs/" must come first) and that Git 2.7 or +newer is required for them to work. |