Skip to content

Commit

Permalink
fixup! checkout: Support a "pure addition" mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cgwalters committed Mar 6, 2017
1 parent b09a826 commit f29d832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libostree/ostree-repo-checkout.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ checkout_one_file_at (OstreeRepo *repo,
}
else
{
HardlinkResult hardlink_res;
HardlinkResult hardlink_res = HARDLINK_RESULT_NOT_SUPPORTED;
/* Try to do a hardlink first, if it's a regular file. This also
* traverses all parent repos.
*/
Expand Down Expand Up @@ -535,7 +535,7 @@ checkout_one_file_at (OstreeRepo *repo,
&& repo->mode == OSTREE_REPO_MODE_ARCHIVE_Z2
&& options->mode == OSTREE_REPO_CHECKOUT_MODE_USER)
{
HardlinkResult hardlink_res;
HardlinkResult hardlink_res = HARDLINK_RESULT_NOT_SUPPORTED;

if (!ostree_repo_load_file (repo, checksum, &input, NULL, NULL,
cancellable, error))
Expand Down

0 comments on commit f29d832

Please sign in to comment.