File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -204,8 +204,6 @@ list(APPEND compat_SOURCES sha1dc_git.c sha1dc/sha1.c sha1dc/ubc_check.c block-s
204
204
205
205
206
206
add_compile_definitions (PAGER_ENV="LESS=FRX LV=-c"
207
- ETC_GITATTRIBUTES="etc/gitattributes"
208
- ETC_GITCONFIG="etc/gitconfig"
209
207
GIT_EXEC_PATH="libexec/git-core"
210
208
GIT_LOCALE_PATH="share/locale"
211
209
GIT_MAN_PATH="share/man"
@@ -220,10 +218,15 @@ add_compile_definitions(PAGER_ENV="LESS=FRX LV=-c"
220
218
221
219
if (WIN32 )
222
220
set (FALLBACK_RUNTIME_PREFIX /mingw64)
223
- add_compile_definitions (FALLBACK_RUNTIME_PREFIX="${FALLBACK_RUNTIME_PREFIX} " )
221
+ # Move system config into top-level /etc/
222
+ add_compile_definitions (FALLBACK_RUNTIME_PREFIX="${FALLBACK_RUNTIME_PREFIX} "
223
+ ETC_GITATTRIBUTES="../etc/gitattributes"
224
+ ETC_GITCONFIG="../etc/gitconfig" )
224
225
else ()
225
226
set (FALLBACK_RUNTIME_PREFIX /home/$ENV{USER} )
226
- add_compile_definitions (FALLBACK_RUNTIME_PREFIX="${FALLBACK_RUNTIME_PREFIX} " )
227
+ add_compile_definitions (FALLBACK_RUNTIME_PREFIX="${FALLBACK_RUNTIME_PREFIX} "
228
+ ETC_GITATTRIBUTES="etc/gitattributes"
229
+ ETC_GITCONFIG="etc/gitconfig" )
227
230
endif ()
228
231
229
232
You can’t perform that action at this time.
0 commit comments