1App::Pinto::Command::diUfsfe(r3)Contributed Perl DocumenAtpapt:i:oPninto::Command::diff(3)
2
3
4
6 App::Pinto::Command::diff - show difference between two stacks
7
9 version 0.14
10
12 pinto --root=REPOSITORY_ROOT diff [OPTIONS] LEFT [RIGHT]
13
15 !! THIS COMMAND IS EXPERIMENTAL !!
16
17 This command shows the difference between two stacks or revisions,
18 presented in a format similar to diff[1].
19
21 Command arguments are the names of the stacks or revision IDs to
22 compare. If you specify a stack name, the head revision of that stack
23 will be used. If you only specify one argument, then it is assumed to
24 be the RIGHT and the head revision of the default stack will be used as
25 the LEFT. Revision IDs can be truncated to uniqueness.
26
28 --diff-style=STYLE
29 Controls the style of the diff reports. STYLE must be either
30 "concise" or "detailed". Concise reports show only one record for
31 each distribution added or deleted. Detailed reports show one
32 record for every package added or deleted.
33
34 The default style is "concise". However, the default style can be
35 changed by setting the "PINTO_DIFF_STYLE" environment variable to
36 your preferred STYLE. This variable affects the default style for
37 diff reports generated by all other commands too.
38
39 --format=FORMAT
40 A "printf"-style format string describing how individual lines of
41 the diff are to be printed. For the description of the "FORMAT",
42 please refer to "COMMAND OPTIONS" in App::Pinto::Command::list.
43
44 The default format for "concise" diffs is "%o[%F] %a/%f". The
45 default format for "detailed" diffs is "%o[%F] %-40p %12v %a/%f".
46
47 EXAMPLES
48 pinto diff foo # Compare of head of default stack with head of foo stack
49 pinto diff foo bar # Compare heads of both foo and bar stack.
50 pinto diff 1ae834f # Compare head of default stack with revision 1ae834f
51 pinto diff foo 1ae834f # Compare head of foo stack with revision 1ae834f
52 pinto diff 663fd2a 1ae834f # Compare revision 663fd2a with revision 1ae834f
53
55 Jeffrey Ryan Thalhammer <jeff@stratopan.com>
56
58 This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
59
60 This is free software; you can redistribute it and/or modify it under
61 the same terms as the Perl 5 programming language system itself.
62
63
64
65perl v5.32.1 2021-01-27 App::Pinto::Command::diff(3)