@@ -52,15 +52,15 @@ function status(ctx::Context, mode::PackageMode, use_as_api=false)
5252 m₁ = filter_manifest (in_project (project₁[" deps" ]), manifest₁)
5353 diff = manifest_diff (ctx, m₀, m₁)
5454 if ! use_as_api
55- printpkgstyle (ctx, :Status , pathrepr (ctx, env. project_file); ignore_indent= true )
56- print_diff (ctx, diff; status = true )
55+ printpkgstyle (ctx, :Status , pathrepr (ctx, env. project_file), #= ignore_indent=# true )
56+ print_diff (ctx, diff, #= status=# true )
5757 end
5858 end
5959 if mode == PKGMODE_MANIFEST
6060 diff = manifest_diff (ctx, manifest₀, manifest₁)
6161 if ! use_as_api
62- printpkgstyle (ctx, :Status , pathrepr (ctx, env. manifest_file); ignore_indent= true )
63- print_diff (ctx, diff; status = true )
62+ printpkgstyle (ctx, :Status , pathrepr (ctx, env. manifest_file), #= ignore_indent=# true )
63+ print_diff (ctx, diff, #= status=# true )
6464 end
6565 elseif mode == PKGMODE_COMBINED
6666 p = not_in_project (merge (project₀[" deps" ], project₁[" deps" ]))
@@ -69,8 +69,8 @@ function status(ctx::Context, mode::PackageMode, use_as_api=false)
6969 c_diff = filter! (x-> x. old != x. new, manifest_diff (ctx, m₀, m₁))
7070 if ! isempty (c_diff)
7171 if ! use_as_api
72- printpkgstyle (ctx, :Status , pathrepr (ctx, env. manifest_file); ignore_indent= true )
73- print_diff (ctx, c_diff; status = true )
72+ printpkgstyle (ctx, :Status , pathrepr (ctx, env. manifest_file), #= ignore_indent=# true )
73+ print_diff (ctx, c_diff, #= status=# true )
7474 end
7575 diff = Base. vcat (c_diff, diff)
7676 end
@@ -132,7 +132,7 @@ struct DiffEntry
132132 new:: Union{VerInfo,Nothing}
133133end
134134
135- function print_diff (io:: IO , ctx:: Context , diff:: Vector{DiffEntry} ; status= false )
135+ function print_diff (io:: IO , ctx:: Context , diff:: Vector{DiffEntry} , status= false )
136136 same = all (x. old == x. new for x in diff)
137137 some_packages_not_downloaded = false
138138 for x in diff
@@ -181,7 +181,7 @@ function print_diff(io::IO, ctx::Context, diff::Vector{DiffEntry}; status=false)
181181 end
182182end
183183# TODO : Use the Context stream
184- print_diff (ctx:: Context , diff:: Vector{DiffEntry} ; kwargs ... ) = print_diff (stdout , ctx, diff; kwargs ... )
184+ print_diff (ctx:: Context , diff:: Vector{DiffEntry} , status = true ) = print_diff (stdout , ctx, diff, status )
185185
186186function manifest_by_uuid (manifest:: Dict )
187187 entries = Dict {UUID,Dict} ()
0 commit comments