1. 25 2月, 2009 9 次提交
  2. 24 2月, 2009 3 次提交
  3. 23 2月, 2009 2 次提交
  4. 22 2月, 2009 1 次提交
  5. 21 2月, 2009 4 次提交
  6. 20 2月, 2009 6 次提交
    • J
      Merge branch 'maint' · 8c5b85ce
      Junio C Hamano 提交于
      * maint:
        More friendly message when locking the index fails.
        Document git blame --reverse.
        Documentation: Note file formats send-email accepts
      8c5b85ce
    • M
      More friendly message when locking the index fails. · e43a6fd3
      Matthieu Moy 提交于
      Just saying that index.lock exists doesn't tell the user _what_ to do
      to fix the problem. We should give an indication that it's normally
      safe to delete index.lock after making sure git isn't running here.
      Signed-off-by: NMatthieu Moy <Matthieu.Moy@imag.fr>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      e43a6fd3
    • M
      Document git blame --reverse. · b452cc16
      Matthieu Moy 提交于
      This was introduced in 85af7929 but
      not documented outside the commit message.
      Signed-off-by: NMatthieu Moy <Matthieu.Moy@imag.fr>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b452cc16
    • M
      gitweb: Hyperlink multiple git hashes on the same commit message line · 7d233dea
      Marcel M. Cary 提交于
      The current implementation only hyperlinks the first hash on
      a given line of the commit message.  It seems sensible to
      highlight all of them if there are multiple, and it seems
      plausible that there would be multiple even with a tidy line
      length limit, because they can be abbreviated as short as 8
      characters.
      
      Benchmark:
      
      I wanted to make sure that using the 'e' switch to the Perl regex
      wasn't going to kill performance, since this is called once per commit
      message line displayed.
      
      In all three A/B scenarios I tried, the A and B yielded the same
      results within 2%, where A is the version of code before this patch
      and B is the version after.
      
      1: View a commit message containing the last 1000 commit hashes
      2: View a commit message containing 1000 lines of 40 dots to avoid
         hyperlinking at the same message length
      3: View a short merge commit message with a few lines of text and
         no hashes
      
      All were run in CGI mode on my sub-production hardware on a recent
      clone of git.git.  Numbers are the average of 10 reqests per second
      with the first request discarded, since I expect this change to affect
      primarily CPU usage.  Measured with ApacheBench.
      
      Note that the web page rendered was the same; while the new code
      supports multiple hashes per line, there was at most one per line.
      
      The primary purpose of scenarios 2 and 3 were to verify that the
      addition of 1000 commit messages had an impact on how much of the time
      was spent rendering commit messages.  They were all within 2% of 0.80
      requests per second (much faster).
      
      So I think the patch has no noticeable effect on performance.
      Signed-off-by: NMarcel M. Cary <marcel@oak.homeunix.org>
      Acked-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7d233dea
    • J
      system_path(): simplify using strip_path_suffix(), and add suffix "git" · 024aa7d8
      Johannes Schindelin 提交于
      At least for the author of this patch, the logic in system_path() was
      too hard to understand.  Using the function strip_path_suffix() documents
      the idea of the code better.
      
      The real change is to add the suffix "git", so that a runtime prefix will
      be computed correctly even when the executable was called in /git/ as is
      the case in msysGit (Windows insists to search the current directory
      before the PATH when looking for an executable).
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Acked-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      024aa7d8
    • J
      Introduce the function strip_path_suffix() · 4fcc86b0
      Johannes Schindelin 提交于
      The function strip_path_suffix() will try to strip a given suffix from
      a given path.  The suffix must start at a directory boundary (i.e. "core"
      is not a path suffix of "libexec/git-core", but "git-core" is).
      
      Arbitrary runs of directory separators ("slashes") are assumed identical.
      
      Example:
      
      	strip_path_suffix("C:\\msysgit/\\libexec\\git-core",
      		"libexec///git-core", &prefix)
      
      will set prefix to "C:\\msysgit" and return 0.
      Signed-off-by: NJohannes Schindelin <johannes.schindelin@gmx.de>
      Acked-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4fcc86b0
  7. 19 2月, 2009 11 次提交
  8. 17 2月, 2009 3 次提交
  9. 16 2月, 2009 1 次提交