1. 17 6月, 2011 1 次提交
  2. 10 6月, 2011 1 次提交
    • J
      gitweb: do not misparse nonnumeric content tag files that contain a digit · 2c162b56
      Jonathan Nieder 提交于
      v1.7.6-rc0~27^2~4 (gitweb: Change the way "content tags" ('ctags') are
      handled, 2011-04-29) tried to make gitweb's tag cloud feature more
      intuitive for webmasters by checking whether the ctags/<label> under
      a project's .git dir contains a number (representing the strength of
      association to <label>) before treating it as one.
      
      With that change, after putting '$feature{'ctags'}{'default'} = [1];'
      in your $GITWEB_CONFIG, you could do
      
      	echo Linux >.git/ctags/linux
      
      and gitweb would treat that as a request to tag the current repository
      with the Linux tag, instead of the previous behavior of writing an
      error page embedded in the projects list that triggers error messages
      from Chromium and Firefox about malformed XML.
      
      Unfortunately the pattern (\d+) used to match numbers is too loose,
      and the "XML declaration allowed only at the start of the document"
      error can still be experienced if you write "Linux-2.6" in place of
      "Linux" in the example above.  Fix it by tightening the pattern to
      ^\d+$.
      Signed-off-by: NJonathan Nieder <jrnieder@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      2c162b56
  3. 09 6月, 2011 3 次提交
  4. 07 6月, 2011 6 次提交
  5. 06 6月, 2011 1 次提交
  6. 04 6月, 2011 1 次提交
  7. 03 6月, 2011 2 次提交
  8. 02 6月, 2011 8 次提交
  9. 01 6月, 2011 17 次提交