mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Monitor all git commands; move blame to git package and replace git as a variable (#6864)
* monitor all git commands; move blame to git package and replace git as a variable * use git command but not other commands * fix build * move exec.Command to git.NewCommand * fix fmt * remove unrelated changes * remove unrelated changes * refactor IsEmpty and add tests * fix tests * fix tests * fix tests * fix tests * remove gitLogger * fix fmt * fix isEmpty * fix lint * fix tests
This commit is contained in:
committed by
techknowlogick
parent
161e12e157
commit
edc94c7041
8
modules/git/tests/repos/repo2_empty/hooks/post-update.sample
Executable file
8
modules/git/tests/repos/repo2_empty/hooks/post-update.sample
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# An example hook script to prepare a packed repository for use over
|
||||
# dumb transports.
|
||||
#
|
||||
# To enable this hook, rename this file to "post-update".
|
||||
|
||||
exec git update-server-info
|
Reference in New Issue
Block a user