(window.webpackJsonp=window.webpackJsonp||[]).push([[1115],{1523:function(t,e,a){"use strict";a.r(e);var v=a(31),d=Object(v.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"diff-tree"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#diff-tree"}},[t._v("#")]),t._v(" diff-tree")]),t._v(" "),a("p",[t._v("Compares the content and mode of blobs found via two tree objects.")]),t._v(" "),a("h2",{attrs:{id:"see-the-files-changed-in-a-specific-commit"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#see-the-files-changed-in-a-specific-commit"}},[t._v("#")]),t._v(" See the files changed in a specific commit")]),t._v(" "),a("h2",{attrs:{id:"usage"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#usage"}},[t._v("#")]),t._v(" Usage")]),t._v(" "),a("div",{staticClass:"language-git extra-class"},[a("pre",{pre:!0,attrs:{class:"language-git"}},[a("code",[t._v("git diff-tree [--stdin] [-m] [-c] [--cc] [-s] [-v] [--pretty] [-t] [-r] [--root] [] [] [...]\n\n")])])]),a("table",[a("thead",[a("tr",[a("th",[a("strong",[t._v("Option")])]),t._v(" "),a("th",[a("strong",[t._v("Explanation")])])])]),t._v(" "),a("tbody",[a("tr",[a("td",[t._v("-r")]),t._v(" "),a("td",[t._v("diff recursively")])]),t._v(" "),a("tr",[a("td",[t._v("--root")]),t._v(" "),a("td",[t._v("include the initial commit as diff against /dev/null")])])])]),t._v(" "),a("h2",{attrs:{id:"common-diff-options"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#common-diff-options"}},[t._v("#")]),t._v(" Common diff options")]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",[a("strong",[t._v("Option")])]),t._v(" "),a("th",[a("strong",[t._v("Explanation")])])])]),t._v(" "),a("tbody",[a("tr",[a("td",[t._v("-z")]),t._v(" "),a("td",[t._v("output diff-raw with lines terminated with NUL.")])]),t._v(" "),a("tr",[a("td",[t._v("-p")]),t._v(" "),a("td",[t._v("output patch format.")])]),t._v(" "),a("tr",[a("td",[t._v("-u")]),t._v(" "),a("td",[t._v("synonym for -p.")])]),t._v(" "),a("tr",[a("td",[t._v("--patch-with-raw")]),t._v(" "),a("td",[t._v("output both a patch and the diff-raw format.")])]),t._v(" "),a("tr",[a("td",[t._v("--stat")]),t._v(" "),a("td",[t._v("show diffstat instead of patch.")])]),t._v(" "),a("tr",[a("td",[t._v("--numstat")]),t._v(" "),a("td",[t._v("show numeric diffstat instead of patch.")])]),t._v(" "),a("tr",[a("td",[t._v("--patch-with-stat")]),t._v(" "),a("td",[t._v("output a patch and prepend its diffstat.")])]),t._v(" "),a("tr",[a("td",[t._v("--name-only")]),t._v(" "),a("td",[t._v("show only names of changed files.")])]),t._v(" "),a("tr",[a("td",[t._v("--name-status")]),t._v(" "),a("td",[t._v("show names and status of changed files.")])]),t._v(" "),a("tr",[a("td",[t._v("--full-index")]),t._v(" "),a("td",[t._v("show full object name on index lines.")])]),t._v(" "),a("tr",[a("td",[t._v("--abbrev="),a("n")],1),t._v(" "),a("td",[t._v("abbreviate object names in diff-tree header and diff-raw.")])]),t._v(" "),a("tr",[a("td",[t._v("-R")]),t._v(" "),a("td",[t._v("swap input file pairs.")])]),t._v(" "),a("tr",[a("td",[t._v("-B")]),t._v(" "),a("td",[t._v("detect complete rewrites.")])]),t._v(" "),a("tr",[a("td",[t._v("-M")]),t._v(" "),a("td",[t._v("detect renames.")])]),t._v(" "),a("tr",[a("td",[t._v("-C")]),t._v(" "),a("td",[t._v("detect copies.")])]),t._v(" "),a("tr",[a("td",[t._v("--find-copies-harder")]),t._v(" "),a("td",[t._v("try unchanged files as candidate for copy detection.")])]),t._v(" "),a("tr",[a("td",[t._v("-l"),a("n")],1),t._v(" "),a("td",[t._v("limit rename attempts up to paths.")])]),t._v(" "),a("tr",[a("td",[t._v("-O")]),t._v(" "),a("td",[t._v("reorder diffs according to the .")])]),t._v(" "),a("tr",[a("td",[t._v("-S")]),t._v(" "),a("td",[t._v("find filepair whose only one side contains the string.")])]),t._v(" "),a("tr",[a("td",[t._v("--pickaxe-all")]),t._v(" "),a("td",[t._v("show all files diff when -S is used and hit is found.")])]),t._v(" "),a("tr",[a("td",[t._v("-a --text")]),t._v(" "),a("td",[t._v("treat all files as text.")])])])])])}),[],!1,null,null,null);e.default=d.exports}}]);