From 51a3f746ef8525c1a24085b97e28cc36c85b1268 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 3 Aug 2018 12:18:00 +0100 Subject: dgit: Provide print-unapplied-treeish subcommand. Signed-off-by: Ian Jackson --- dgit.1 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'dgit.1') diff --git a/dgit.1 b/dgit.1 index 4ea34da..a21f212 100644 --- a/dgit.1 +++ b/dgit.1 @@ -471,6 +471,26 @@ to cause it to exclude exactly the .git diredcory and nothing else. The separate arguments are unquoted, separated by spaces, and do not contain spaces. +.TP +.B dgit print-unapplied-treeish +Constructs a tree-ish approximating the patches-unapplied state +of your 3.0 (quilt) package, +and prints the git object name to stdout. +This requires appropriate .orig tarballs. +This tree object is identical to your .origs +as regards upstream files. +The contents of the debian subdirectory is not interesting +and should not be inspected; +except that debian/patches will be identical to your HEAD. + +To make this operate off-line, +the access configuration key +which is used to determine the build-products-dir +is the uncanonicalised version of the suite name from the changelog, +or (of course) dgit.default.build-products-dir. +See ACCESS CONFIGURATION, below. + +This function is primarily provided for the benefit of git-debrebase. .SH OPTIONS .TP .BR --dry-run " | " -n -- cgit v1.2.3