1. 20 4月, 2007 6 次提交
    • S
      Kill the useless progress meter in merge-recursive · ad57cbca
      Shawn O. Pearce 提交于
      The mess known as the progress meter in merge-recursive was my own
      fault; I put it in thinking that we might be spending a lot of time
      resolving unmerged entries in the index that were not handled by
      the simple 3-way index merge code.
      
      Turns out we don't really spend that much time there, so the progress
      meter was pretty much always jumping to "(n/n) 100%" as soon as
      the program started.  That isn't a very good indication of progress.
      
      Since I don't have a great solution for how a progress meter should
      work here, I'm proposing we back it out entirely.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ad57cbca
    • B
      Remove case-sensitive file in t3030-merge-recursive. · 744747ef
      Brian Gernhardt 提交于
      Rename "A" to the unused "c"
      Signed-off-by: NBrian Gernhardt <benji@silverinsanity.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      744747ef
    • A
      git.el: Add a commit description to the reflog. · 413689d3
      Alexandre Julliard 提交于
      Add a description of the commit to the reflog using the first line of
      the log message, the same way the git-commit script does it.
      Signed-off-by: NAlexandre Julliard <julliard@winehq.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      413689d3
    • S
      Contribute a fairly paranoid update hook · 9398e5aa
      Shawn O. Pearce 提交于
      I'm using a variant of this update hook in a corporate environment
      where we perform some validations of the commits and tags that
      are being pushed.  The model is a "central repository" type setup,
      where users are given access to push to specific branches within
      the shared central repository.  In this particular installation we
      run a specially patched git-receive-pack in setuid mode via SSH,
      allowing all writes into the repository as the repository owner,
      but only if this hook blesses it.
      
      One of the major checks we perform with this hook is that the
      'committer' line of a commit, or the 'tagger' line of a new annotated
      tag actually correlates to the UNIX user who is performing the push.
      Users can falsify these lines on their local repositories, but
      the central repository that management trusts will reject all such
      forgery attempts.  Of course 'author' lines are still allowed to
      be any value, as sometimes changes do come from other individuals.
      
      Another nice feature of this hook is the access control lists for
      all repositories on the system can also be stored and tracked in
      a supporting Git repository, which can also be access controlled
      by itself.  This allows full auditing of who-had-what-when-and-why,
      thanks to git-blame's data mining capabilities.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      9398e5aa
    • J
      Merge branch 'maint' · 754eeb33
      Junio C Hamano 提交于
      * maint:
        Update git-config documentation
        Fix unmatched emphasis tag in git-tutorial
        Update git-cherry-pick documentation
        Update git-archive documentation
      754eeb33
    • L
      Fix working directory errno handling when unlinking a directory · 851c603e
      Linus Torvalds 提交于
      Alex Riesen noticed that the case where a file replaced a directory entry
      in the working tree was broken on cygwin. It turns out that the code made
      some Linux-specific assumptions, and also ignored errors entirely for the
      case where the entry was a symlink rather than a file.
      
      This cleans it up by separating out the common case into a function of its
      own, so that both regular files and symlinks can share it, and by making
      the error handling more obvious (and not depend on any Linux-specific
      behaviour).
      Acked-by: NAlex Riesen <raa.lkml@gmail.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      851c603e
  2. 19 4月, 2007 11 次提交
  3. 18 4月, 2007 11 次提交
  4. 17 4月, 2007 11 次提交
  5. 16 4月, 2007 1 次提交
    • J
      Merge branch 'maint' · 402fa75e
      Junio C Hamano 提交于
      * maint:
        Have sample update hook not refuse deleting a branch through push.
        variable $projectdesc needs to be set before checking against unchanged default.
        Update git-annotate/git-blame documentation
        Update git-apply documentation
        Update git-applymbox documentation
        Update git-am documentation
        user-manual: use detached head when rewriting history
        user-manual: start revising "internals" chapter
        user-manual: detached HEAD
        user-manual: fix discussion of default clone
        Documentation: clarify track/no-track option.
        Documentation: clarify git-checkout -f, minor editing
        Documentation: minor edits of git-lost-found manpage
      402fa75e