1. 24 Sep, 2013 1 commit
  2. 30 Aug, 2013 1 commit
  3. 15 Jul, 2013 3 commits
  4. 11 Jun, 2013 1 commit
  5. 24 Feb, 2013 1 commit
  6. 18 Jan, 2013 1 commit
  7. 26 Oct, 2011 1 commit
  8. 27 Sep, 2011 1 commit
  9. 20 Mar, 2010 2 commits
  10. 07 Nov, 2009 1 commit
  11. 31 Oct, 2009 1 commit
  12. 30 Oct, 2009 1 commit
  13. 24 Oct, 2009 1 commit
  14. 29 Sep, 2009 1 commit
  15. 22 Sep, 2009 1 commit
  16. 20 May, 2009 1 commit
  17. 16 May, 2009 1 commit
  18. 09 May, 2009 1 commit
  19. 18 Apr, 2009 1 commit
  20. 04 Mar, 2009 1 commit
  21. 09 Sep, 2008 1 commit
    • Junio C Hamano's avatar
      Fix permission bits on sources checked out with an overtight umask · d8bdc492
      Junio C Hamano authored
      Two patches 99077215 (templates/Makefile: don't depend on local umask
      setting, 2008-02-28) and 96cda0b1 (templates/Makefile: install is
      unnecessary, just use mkdir -p, 2008-08-21) tried to prevent an overtight
      umask the builder/installer might have from screwing over the installation
      procedure, but we forgot there was another source of trouble.  If the
      person who checked out the source tree had an overtight umask, it will
      leak out to the built products, which is propagated to the installation
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
  22. 22 Aug, 2008 1 commit
  23. 20 Aug, 2008 1 commit
  24. 27 Jun, 2008 1 commit
    • Junio C Hamano's avatar
      Update sample pre-commit hook to use "diff --check" · 03e2b630
      Junio C Hamano authored
      Now "diff --check" can detect not just whitespace errors but also notices
      leftover conflict marker lines, we can use it in the sample pre-commit
      hook script.
      These days the object layer knows about the empty tree object without
      actually having one in the repository, so we can run the test even for the
      initial commit.
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
  25. 26 Jun, 2008 2 commits
  26. 25 Jun, 2008 2 commits
    • Junio C Hamano's avatar
      Ship sample hooks with .sample suffix · f98f8cba
      Junio C Hamano authored
      We used to mark hooks we ship as samples by making them unexecutable, but
      some filesystems cannot tell what is executable and what is not.
      This makes it much more explicit.  The hooks are suffixed with .sample
      (but now are made executable), so enabling it is still one step operation
      (instead of "chmod +x $hook", you would do "mv $hook.sample $hook") but
      now they won't get accidentally enabled on systems without executable bit.
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    • Junio C Hamano's avatar
      pre-rebase hook update · ba2d0f4f
      Junio C Hamano authored
      This hook is what I have been using to manage topic branches in git.git,
      but have not been updated to the Real Thing for a while.
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
  27. 21 May, 2008 1 commit
  28. 28 Feb, 2008 1 commit
  29. 06 Feb, 2008 1 commit
    • Paolo Bonzini's avatar
      git-commit: add a prepare-commit-msg hook · 8089c85b
      Paolo Bonzini authored
      The prepare-commit-msg hook is run whenever a "fresh" commit message
      is prepared, just before it is shown in the editor (if it is).
      Its purpose is to modify the commit message in-place.
      It takes one to three parameters.  The first is the name of the file that
      the commit log message.  The second is the source of the commit message,
      and can be: "message" (if a -m or -F option was given); "template" (if a
      -t option was given or the configuration option commit.template is set);
      "merge" (if the commit is a merge or a .git/MERGE_MSG file exists);
      "squash" (if a .git/SQUASH_MSG file exists); or "commit", followed by
      a commit SHA1 as the third parameter (if a -c, -C or --amend option
      was given).
      If its exit status is non-zero, git-commit will abort.  The hook is
      not suppressed by the --no-verify option, so it should not be used
      as a replacement for the pre-commit hook.
      The sample prepare-commit-msg comments out the `Conflicts:` part of
      a merge's commit message; other examples are commented out, including
      adding a Signed-off-by line at the bottom of the commit messsage,
      that the user can then edit or discard altogether.
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <bonzini@gnu.org>
      Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
  30. 18 Jan, 2008 1 commit
  31. 14 Jan, 2008 1 commit
  32. 04 Dec, 2007 1 commit
  33. 23 Nov, 2007 1 commit
  34. 08 Nov, 2007 2 commits