mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-09 04:29:07 +00:00
Style
This commit is contained in:
parent
a2b4407dc3
commit
4e96411748
@ -447,11 +447,10 @@ static int collect_attr_files(
|
||||
giterr_clear(); /* no error even if there is no index */
|
||||
info.files = files;
|
||||
|
||||
if (!strcmp(dir.ptr, ".")) {
|
||||
if (!strcmp(dir.ptr, "."))
|
||||
error = push_one_attr(&info, "");
|
||||
} else {
|
||||
else
|
||||
error = git_path_walk_up(&dir, workdir, push_one_attr, &info);
|
||||
}
|
||||
|
||||
if (error < 0)
|
||||
goto cleanup;
|
||||
|
Loading…
Reference in New Issue
Block a user