App::P...d::diff(3pm)
π App::Pinto::Command::diff π
okay bestie, gather round, because we're looking at App::Pinto::Command::diff β that's the Perl doc page, user-contributed, and it is entirely about showing you the difference between two stacks π¦
β¨ NAME β¨
App::Pinto::Command::diff β show difference between two stacks. that's it, that's the whole vibe π
β¨ VERSION β¨
version 0.14 β yeah she's a specific girlie π
β¨ SYNOPSIS β¨
pinto --root=REPOSITORY_ROOT diff [OPTIONS] LEFT [RIGHT]
look at her. so clean. so iconic. π
β¨ DESCRIPTION β¨
!! THIS COMMAND IS EXPERIMENTAL !! π not me having to say this but fr fr, she is experimental, so proceed with the awareness of a main character who reads the fine print.
This command shows the difference between two stacks or revisions, and it presents all of that in a format similar to diff[1]. like, you know how diff does its thing? same energy, but for your stacks π«Ά
β¨ COMMAND ARGUMENTS β¨
the command arguments are, lowkey, just the names of the stacks or the revision IDs you want to compare. that's the whole job. πΈ
- if you hand over a stack name, then the head revision of that stack is the one that gets used β¨
- if you only give one argument, then plot twist: it's assumed to be the
RIGHT, and the head revision of the default stack slides in as theLEFTπ« - and revision IDs? they can be truncated to uniqueness β so yes, you can absolutely just type the first few characters and let her figure it out. iykyk π
β¨ COMMAND OPTIONS β¨
okay this is the part where we get into the flags, and there are exactly two, so like, manageable. π
--diff-style=STYLEβ this controls the style of the diff reports, andSTYLEhas to be eitherconciseordetailed, no in-between, no third option, periodt.concisereports show only one record for each distribution that was added or deleted πdetailedreports show one record for every package that was added or deleted β so like, way more receipts π- the default style is
conciseβ¨ BUT the default can be changed by setting thePINTO_DIFF_STYLEenvironment variable to whateverSTYLEyou prefer π - and heads up bestie: that variable affects the default style for diff reports generated by all other commands too, not just this one. it's giving global influence π
--format=FORMATβ aprintf-style format string that describes how the individual lines of the diff get printed π¨οΈ- for the description of the
FORMAT, please refer toCOMMAND OPTIONSinApp::Pinto::Command::listβ go read that one, she has the details π - the default format for
concisediffs is%o[%F] %a/%f⨠- the default format for
detaileddiffs is%o[%F] %-40p %12v %a/%fβ¨
- for the description of the
π EXAMPLES π
these are literally the moment, look at how useful she is:
pinto diff foo # Compare of head of default stack with head of foo stack
pinto diff foo bar # Compare heads of both foo and bar stack.
pinto diff 1ae834f # Compare head of default stack with revision 1ae834f
pinto diff foo 1ae834f # Compare head of foo stack with revision 1ae834f
pinto diff 663fd2a 1ae834f # Compare revision 663fd2a with revision 1ae834f
ate. no crumbs. π
β¨ AUTHOR β¨
Jeffrey Ryan Thalhammer <jeff@stratopan.com> β legend behavior, honestly π
β¨ COPYRIGHT AND LICENSE β¨
this software is copyright (c) 2015 by Jeffrey Ryan Thalhammer. π
and this is free software π¦ you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself β slay, open source rights, we love to see it πΈ
and that's the whole page bestie!! go diff some stacks, stay experimental, and remember: perl v5.40.1, dated 2025-04-21, from the App::P...d::diff(3pm) manual β mwah, love u, bye!! π
πβ¨
π¦ where this page comes from
- debian trixie: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms