| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -629,13 +629,13 @@ static int collect_attr_files( | |||
| 629 | 629 | const char *workdir = git_repository_workdir(repo); | |
| 630 | 630 | attr_walk_up_info info = { NULL }; | |
| 631 | 631 | ||
| 632 | + GIT_ASSERT(!git_path_is_absolute(path)); | ||
| 633 | + | ||
| 632 | 634 | if ((error = attr_setup(repo, attr_session, opts)) < 0) | |
| 633 | 635 | return error; | |
| 634 | 636 | ||
| 635 | 637 | /* Resolve path in a non-bare repo */ | |
| 636 | 638 | if (workdir != NULL) { | |
| 637 | - GIT_ASSERT(!git_path_is_absolute(path)); | ||
| 638 | - | ||
| 639 | 639 | if (!(error = git_repository_workdir_path(&dir, repo, path))) | |
| 640 | 640 | error = git_path_find_dir(&dir); | |
| 641 | 641 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments