Merge branch 'js/config' into pu pu
authorJunio C Hamano <junkio@cox.net>
Sat, 10 Jun 2006 21:09:49 +0000 (14:09 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 10 Jun 2006 21:09:49 +0000 (14:09 -0700)
* js/config:
  repo-config: learn the flag "--no-local"
  Read configuration also from ~/.gitconfig

1  2 
cache.h

diff --combined cache.h
+++ b/cache.h
@@@ -208,12 -208,6 +208,12 @@@ extern const unsigned char null_sha1[20
  
  int git_mkstemp(char *path, size_t n, const char *template);
  
 +enum sharedrepo {
 +      PERM_UMASK = 0,
 +      PERM_GROUP,
 +      PERM_EVERYBODY
 +};
 +int git_config_perm(const char *var, const char *value);
  int adjust_shared_perm(const char *path);
  int safe_create_leading_directories(char *path);
  char *safe_strncpy(char *, const char *, size_t);
@@@ -354,6 -348,7 +354,7 @@@ extern void packed_object_info_detail(s
  /* Dumb servers support */
  extern int update_server_info(int);
  
+ extern int git_ignore_local_config;
  typedef int (*config_fn_t)(const char *, const char *);
  extern int git_default_config(const char *, const char *);
  extern int git_config_from_file(config_fn_t fn, const char *);