[pacman-dev] [PATCH] Adds a check to -Qo, so that pacman warns the user if the file does not exits

Eli Schwartz eschwartz at archlinux.org
Thu Jun 18 02:40:00 UTC 2020


On 6/16/20 9:35 PM, Pedro Victor wrote:
> That's true, thanks. I sent this patch because I mistyped a path in -Qo and
> it only printed "file %mistyped_path is not owned by any package", without
> warning me that the file did not exist.
> So if this check is put somewhere after the file database query, it will
> warn about mistyped paths to nonexistent files, right?

Yes, that seems reasonable. Can you submit an updated patch?

While you are at it, commit messages are usually in the imperative mood,
e.g. "add a check [...]" rather than "adds a check". See e.g.

https://git-scm.com/docs/SubmittingPatches#imperative-mood
https://chris.beams.io/posts/git-commit/#imperative

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20200617/17fce146/attachment.sig>


More information about the pacman-dev mailing list