'\" t
.\" Title: stg-diff
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1
.\" Date: 03/26/2014
.\" Manual: StGit Manual
.\" Source: StGit
.\" Language: English
.\"
.TH "STG\-DIFF" "1" "03/26/2014" "StGit" "StGit Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
stg-diff \- Show the tree diff
.SH "SYNOPSIS"
.sp
.nf
\fIstg\fR diff [options] [\-\-] []
.fi
.SH "DESCRIPTION"
Show the diff (default) or diffstat between the current working copy or a tree\-ish object and another tree\-ish object (defaulting to HEAD)\&. File names can also be given to restrict the diff output\&. The tree\-ish object has the format accepted by the \fBstg-id\fR(1) command\&.
.SH "OPTIONS"
.PP
\-r rev1[\&.\&.[rev2]], \-\-range rev1[\&.\&.[rev2]]
.RS 4
Show the diff between revisions\&.
.RE
.PP
\-s, \-\-stat
.RS 4
Show the stat instead of the diff\&.
.RE
.PP
\-O OPTIONS, \-\-diff\-opts OPTIONS
.RS 4
Extra options to pass to "git diff"\&.
.RE
.SH "STGIT"
Part of the StGit suite \- see \fBstg\fR(1)