]> git.zndr.dk Git - dotfiles.git/commitdiff
Add git/attributes
authorJannik Zander <jannikz@gmail.com>
Tue, 24 May 2016 16:20:02 +0000 (18:20 +0200)
committerJannik Zander <jannikz@gmail.com>
Tue, 24 May 2016 16:24:28 +0000 (18:24 +0200)
.config/git/attributes [new file with mode: 0644]
.config/git/config
.config/profile/rc/prompt.sh

diff --git a/.config/git/attributes b/.config/git/attributes
new file mode 100644 (file)
index 0000000..5296e27
--- /dev/null
@@ -0,0 +1 @@
+*       text=auto
index a086a6369e6c2cf93d6fb0610f86586b9672bf39..0c7514c42cb75c2963fbaa44eab8488662f22d62 100644 (file)
@@ -97,7 +97,8 @@
   templatedir = ~/.config/git/templates
 [core]
   excludesfile = ~/.config/git/ignore
+  attributesFile = ~/.config/git/attributes
   editor = vim
-  autocrlf = false
+  #autocrlf = false
 [include]
   path = ~/.config/git/config_local
index 9b30788e4369bb17d3185f36ee5546ee256cbe86..9aa7ed7e6c700aa065f7f208b41acc8f913b9be6 100644 (file)
@@ -24,8 +24,8 @@ if [ -f "${HOME}/.config/profile/rc/git-prompt.sh" ]; then
   export GIT_PS1_SHOWSTASHSTATE='y'
   export GIT_PS1_SHOWUNTRACKEDFILES='y'
   export GIT_PS1_DESCRIBE_STYLE='contains'
-  export GIT_PS1_SHOWUPSTREAM="auto"
-  export GIT_PS1_STATESEPARATOR=" ["
+  export GIT_PS1_SHOWUPSTREAM='auto'
+  export GIT_PS1_STATESEPARATOR=' ['
 fi