Mise à jour git-1.8
[hvlinux.git] / stage3 / pkg / git
index 3947125..e23576a 100644 (file)
@@ -1,14 +1,28 @@
 #!/bin/bash
 
-hvconfig_pre()
-{
-    cd ${LFS_TMP}/${PACKAGE}
-    autoreconf -i
-}
-
 hvbuild_post()
 {
     local GIT_MANPAGES="git-manpages-$(get_pkg_ver ${PACKAGE})"
 
     decompress_package ${GIT_MANPAGES} /usr/share/man
+
+    cat > /etc/gitconfig << "EOF"
+[color]
+    branch = auto
+    diff = auto
+    interactive = auto
+    status = auto
+
+[core]
+    editor = emacs
+
+[push]
+    # Pushes will go to the same place that pulls come from:
+    default = tracking
+
+[diff]
+    # Enable rename and copies detection
+    renames = copy
+
+EOF
 }