Revision f2bd231414fc9c22307971bcc6c5a3a96dec75c1 authored by Junio C Hamano on 25 June 2015, 18:02:13 UTC, committed by Junio C Hamano on 25 June 2015, 18:02:13 UTC
The setup code used to die when core.bare and core.worktree are set
inconsistently, even for commands that do not need working tree.

* jk/die-on-bogus-worktree-late:
  setup_git_directory: delay core.bare/core.worktree errors
2 parent s 6356003 + fada767
Raw File
thread-utils.h
#ifndef THREAD_COMPAT_H
#define THREAD_COMPAT_H

#ifndef NO_PTHREADS
#include <pthread.h>

extern int online_cpus(void);
extern int init_recursive_mutex(pthread_mutex_t*);

#else

#define online_cpus() 1

#endif
#endif /* THREAD_COMPAT_H */
back to top