From c7bd664d1f2092b944b21a661822392a94292be4 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 3 Jun 2013 22:39:54 -0400 Subject: [PATCH] =?utf8?q?Cr=C3=A9=C3=A9=20fichier=20gitconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- stage3/misc/{ => git}/git-completion.bash | 0 stage3/misc/git/gitconfig | 16 ++++++++++++++++ stage3/pkg/git | 20 +------------------- 3 files changed, 17 insertions(+), 19 deletions(-) rename stage3/misc/{ => git}/git-completion.bash (100%) create mode 100644 stage3/misc/git/gitconfig diff --git a/stage3/misc/git-completion.bash b/stage3/misc/git/git-completion.bash similarity index 100% rename from stage3/misc/git-completion.bash rename to stage3/misc/git/git-completion.bash diff --git a/stage3/misc/git/gitconfig b/stage3/misc/git/gitconfig new file mode 100644 index 0000000..574e109 --- /dev/null +++ b/stage3/misc/git/gitconfig @@ -0,0 +1,16 @@ +[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 diff --git a/stage3/pkg/git b/stage3/pkg/git index f17feb5..d1114b0 100644 --- a/stage3/pkg/git +++ b/stage3/pkg/git @@ -9,23 +9,5 @@ hvbuild_post() 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 + install -v -m644 ${SCRDIR}/misc/git/gitconfig /etc } -- 2.20.1