Function

GgitConfigfind_system

Declaration [src]

GFile*
ggit_config_find_system (
  void
)

Description [src]

Find the file representing the systems global git configuration. This file is usually located at /etc/gitconfig on UNIX type systems or PROGRAMFILES%\Git\etc\gitconfig on windows. This function will try to guess the full path to that file, if the file exists. The returned file may then be used with #ggit_config_new_from_file or #ggit_config_add_file. This function returns NULL if the system config could not be found.

Return value

Returns: GFile
 

A GFile or NULL if the system config could not be found.

 The caller of the function takes ownership of the data, and is responsible for freeing it.