()
| 794 | } |
| 795 | |
| 796 | func (r *Repository) ClearGitIgnoreRules() error { |
| 797 | runtime.LockOSThread() |
| 798 | defer runtime.UnlockOSThread() |
| 799 | |
| 800 | ret := C.git_ignore_clear_internal_rules(r.ptr) |
| 801 | runtime.KeepAlive(r) |
| 802 | if ret < 0 { |
| 803 | return MakeGitError(ret) |
| 804 | } |
| 805 | return nil |
| 806 | } |
| 807 | |
| 808 | // Message retrieves git's prepared message. |
| 809 | // Operations such as git revert/cherry-pick/merge with the -n option stop just |
nothing calls this directly
no test coverage detected