diffman-git(1) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | ENVIRONMENT | EXAMPLES | SEE ALSO | COLOPHON

diffman-git(1)           General Commands Manual           diffman-git(1)

NAME         top

       diffman-git - compare changes to manual pages line by line

SYNOPSIS         top

       diffman-git [diff-options ...] [[base-commit] commit]

DESCRIPTION         top

       The diffman-git command formats a manual page at two git(1)
       commits, and then runs diff(1) on the formatted outputs.

       If the commit is not specified, it diffs the working directory
       against HEAD.

       If the base-commit is not specified, the comparison is done
       against the previous commit.

OPTIONS         top

       -s     Report when two files are the same.

       -Un    output n (default 3) lines of unified context.

       -w     Ignore all white space.

ENVIRONMENT         top

       See man(1).

EXAMPLES         top

       $ MAN_KEEP_FORMATTING= diffman-git 437e4afec6ca | less -R;
       --- 437e4afec6ca^:man/man3/sem_open.3
       +++ 437e4afec6ca:man/man3/sem_open.3
       @@ -14,3 +14,2 @@
       -     sem_t *sem_open(const char *name, int oflag);
       -     sem_t *sem_open(const char *name, int oflag,
       -                     mode_t mode, unsigned int value);
       +     sem_t *sem_open(const char *name, int oflag, ...
       +                     /* mode_t mode, unsigned int value */ );

SEE ALSO         top

       diff(1), man(1), git(1), less(1)

COLOPHON         top

       This page is part of the man-pages (Linux kernel and C library
       user-space interface documentation) project.  Information about
       the project can be found at 
       ⟨https://www.kernel.org/doc/man-pages/⟩.  If you have a bug report
       for this manual page, see
       ⟨https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/CONTRIBUTING⟩.
       This page was obtained from the tarball man-pages-6.10.tar.gz
       fetched from
       ⟨https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/⟩ on
       2025-02-02.  If you discover any rendering problems in this HTML
       version of the page, or you believe there is a better or more up-
       to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not
       part of the original manual page), send a mail to
       man-pages@man7.org

Linux man-pages 6.10            2025-01-11                 diffman-git(1)