Debian Codegraph @

upstream/debian-unstable/man1/diffman-git.1

raw
1 .\" Copyright, the authors of the Linux man-pages project
2 .\"
3 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
4 .\"
5 .TH diffman\-git 1 2025-05-17 "Linux man-pages 6.18"
6 .SH NAME
7 diffman\-git
8 \-
9 compare changes to manual pages line by line
10 .SH SYNOPSIS
11 .SY diffman\-git
12 .RI [ diff-options \~.\|.\|.\&]
13 .RI [[ base-commit ]
14 .IR commit ]
15 .YS
16 .SH DESCRIPTION
17 The
18 .B diffman\-git
19 command
20 formats a manual page at two
21 .BR git (1)
22 commits,
23 and then runs
24 .BR diff (1)
25 on the formatted outputs.
26 .P
27 If the
28 .I commit
29 is not specified,
30 it diffs the working directory against HEAD.
31 .P
32 If the
33 .I base-commit
34 is not specified,
35 the comparison is done against the previous commit.
36 .SH OPTIONS
37 .TP
38 .B \-s
39 Report when two files are the same.
40 .TP
41 .BI \-U n
42 output
43 .I n
44 (default 3)
45 lines of unified context.
46 .TP
47 .B \-w
48 Ignore all white space.
49 .SH ENVIRONMENT
50 See
51 .BR man (1).
52 .SH EXAMPLES
53 .EX
54 .RB $\~ "MAN_KEEP_FORMATTING= diffman\-git 437e4afec6ca | less \-R" ;
55 \-\-\- 437e4afec6ca\[ha]:man/man3/sem_open.3
56 +++ 437e4afec6ca:man/man3/sem_open.3
57 @@ \-14,3 +14,2 @@
58 \- sem_t *sem_open(const char *name, int oflag);
59 \- sem_t *sem_open(const char *name, int oflag,
60 \- mode_t mode, unsigned int value);
61 + sem_t *sem_open(const char *name, int oflag, ...
62 + /* mode_t mode, unsigned int value */ );
63 .EE
64 .SH SEE ALSO
65 .BR diff (1),
66 .BR man (1),
67 .BR git (1),
68 .BR less (1)