commit | 8eed574154e953800d0a31357a079cb63bf26f37 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Sat Jun 02 12:44:48 2012 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Mon Jun 04 14:01:44 2012 -0700 |
tree | ba76c455c00b738dd6c164ca536d48fe2fe983df | |
parent | f42a6c427cad4ef37e293dea8594f486a0a5aa9a [diff] |
Special case hiding refs/meta/config from Git clients VisibleRefFilter requires a lot of server CPU to accurately provide the correct listing to clients when they cannot read refs/*. Since the default configuration is now to hide refs/meta/config, use a special case in VisibleRefFilter that permits showing every reference except refs/meta/config if a user can read every other reference in the repository. Change-Id: Iba12ee5ea1babcfeb71d378139ce2fcfb121b949