]> git.ipfire.org Git - thirdparty/git.git/blobdiff - common-main.c
Merge branch 'fix-mingw-quoting-bug'
[thirdparty/git.git] / common-main.c
index 44a29e8b13cb5203e2d35c99b8e2b5fec49f6981..6a689007e7ce3fe08f148e8b82c0a1c618c513a5 100644 (file)
@@ -1,5 +1,6 @@
 #include "cache.h"
 #include "exec_cmd.h"
+#include "attr.h"
 
 /*
  * Many parts of Git have subprograms communicate via pipe, expect the
@@ -33,7 +34,9 @@ int main(int argc, const char **argv)
 
        git_setup_gettext();
 
-       argv[0] = git_extract_argv0_path(argv[0]);
+       attr_start();
+
+       git_extract_argv0_path(argv[0]);
 
        restore_sigpipe_to_default();