Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
91f13a18
Commit
91f13a18
authored
Feb 01, 2013
by
Jameson Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try harder to find global config file
parent
329eee33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
src/fileops.c
+0
-6
No files found.
src/fileops.c
View file @
91f13a18
...
...
@@ -544,12 +544,6 @@ int git_futils_find_global_file(git_buf *path, const char *filename)
/* try to look up file under path */
if
(
!
win32_find_file
(
path
,
&
root
,
filename
))
return
0
;
/* No error if file not found under %HOME%, b/c we don't trust it,
* but do error if another var is set and yet file is not found.
*/
if
(
tmpl
!=
tmpls
)
break
;
}
giterr_set
(
GITERR_OS
,
"The global file '%s' doesn't exist"
,
filename
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment