1. 31 Jan, 2025 2 commits
    • Cody Yu's avatar
      [Git] Automatically sign-off commits (#12595) · 847f8832
      Cody Yu authored
      
      
      It's very annoying when I forgot to add `-s` in `git commit` to
      sign-off, because I then need to `git rebase HEAD~1 --signoff` and `git
      push -f` to fix the DCO. This PR adds a hook to sign off commits
      automatically when `-s` is missing to solve this problem. The only
      change from the user side is now users have to install 2 hooks, so
      instead of just
      
      ```
      pre-commit install
      ```
      
      Now we need to
      
      ```
      pre-commit install --hook-type pre-commit --hook-type commit-msg
      ```
      
      Note that even if users still only install the pre-commit hook, they
      won't get any error in `git commit`. Just the sign-off hook won't run.
      
      cc @hmellor @youkaichao
      
      ---------
      Signed-off-by: default avatarCody Yu <hao.yu.cody@gmail.com>
      847f8832
    • Harry Mellor's avatar
      e3f7ff65
  2. 30 Jan, 2025 1 commit
  3. 29 Jan, 2025 3 commits
  4. 28 Jan, 2025 2 commits
  5. 27 Jan, 2025 2 commits
  6. 24 Jan, 2025 2 commits
  7. 23 Jan, 2025 7 commits
  8. 21 Jan, 2025 3 commits
  9. 20 Jan, 2025 2 commits
  10. 19 Jan, 2025 1 commit
  11. 18 Jan, 2025 2 commits
  12. 17 Jan, 2025 1 commit
  13. 16 Jan, 2025 2 commits
  14. 15 Jan, 2025 2 commits
  15. 14 Jan, 2025 3 commits
  16. 13 Jan, 2025 2 commits
  17. 12 Jan, 2025 3 commits