MCPcopy Index your code
hub / github.com/git/git / remove_locks

Function remove_locks

http-push.c:1001–1011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

999}
1000
1001static void remove_locks(void)
1002{
1003 struct remote_lock *lock = repo->locks;
1004
1005 fprintf(stderr, "Removing remote locks...\n");
1006 while (lock) {
1007 struct remote_lock *next = lock->next;
1008 unlock_remote(lock);
1009 lock = next;
1010 }
1011}
1012
1013static void remove_locks_on_signal(int signo)
1014{

Callers 1

remove_locks_on_signalFunction · 0.85

Calls 1

unlock_remoteFunction · 0.85

Tested by

no test coverage detected