man/git-multi.1 in git-multi-1.0.9 vs man/git-multi.1 in git-multi-1.0.10
- old
+ new
@@ -1,15 +1,15 @@
'\" t
.\" Title: git-multi
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
-.\" Date: 10/08/2018
+.\" Date: 11/01/2018
.\" Manual: Git Manual
-.\" Source: Git 2.19.1.272.gf84b9b09d.dirty
+.\" Source: Git 2.19.1.542.gc4df23f792.dirty
.\" Language: English
.\"
-.TH "GIT\-MULTI" "1" "10/08/2018" "Git 2\&.19\&.1\&.272\&.gf84b9b" "Git Manual"
+.TH "GIT\-MULTI" "1" "11/01/2018" "Git 2\&.19\&.1\&.542\&.gc4df23" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
@@ -29,11 +29,11 @@
.\" -----------------------------------------------------------------
.SH "NAME"
git-multi \- execute the same git command in multiple repositories
.SH "VERSION"
.sp
-This is \fBv1\&.0\&.9\fR of \fIgit multi\fR \&... hooray!
+This is \fBv1\&.0\&.10\fR of \fIgit multi\fR \&... hooray!
.SH "SYNOPSIS"
.sp
There are some options for \fBgit multi\fR itself, in which case it is invoked as follows:
.sp
.nf
@@ -242,16 +242,28 @@
.fi
.if n \{\
.RE
.\}
.sp
-print out the local branch for each repo
+print out the local branch for each repo (using \fBsymbolic\-ref\fR)
.sp
.if n \{\
.RS 4
.\}
.nf
+git multi symbolic\-ref \-\-quiet \-\-short HEAD
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+print out the local branch for each repo (using \fBrev\-parse\fR)
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
git multi rev\-parse \-\-abbrev\-ref=strict HEAD
.fi
.if n \{\
.RE
.\}
@@ -344,11 +356,11 @@
.sp
.if n \{\
.RS 4
.\}
.nf
-git multi \-\-find \*(Aq((Time\&.now \- pushed_at) / 60 / 60 / 24) <= 7\*(Aq
+git multi \-\-find \*(Aq((Time\&.now\&.utc \- pushed_at) / 60 / 60 / 24) <= 7\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
@@ -356,11 +368,11 @@
.sp
.if n \{\
.RS 4
.\}
.nf
-git multi \-\-eval \*(Aqputs "%d days" % ((Time\&.now \- pushed_at) / 60 / 60 / 24)\*(Aq
+git multi \-\-eval \*(Aqputs "%s \- %d days" % [full_name, ((Time\&.now\&.utc \- pushed_at) / 60 / 60 / 24)\&.ceil]\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
@@ -368,11 +380,11 @@
.sp
.if n \{\
.RS 4
.\}
.nf
-git multi \-\-find \*(Aqpushed_at >= Date\&.civil(Date\&.today\&.year, 1, 1)\&.to_time\*(Aq
+git multi \-\-find \*(Aqpushed_at >= Date\&.civil(Date\&.today\&.year, 1, 1)\&.to_time\&.utc\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
@@ -380,11 +392,11 @@
.sp
.if n \{\
.RS 4
.\}
.nf
-git multi \-\-eval \*(Aq(hooks = client\&.hooks(project\&.full_name))\&.any? && begin print project\&.full_name ; print "\et" ; puts hooks\&.map { |hook| ["", hook\&.name, hook\&.config\&.url]\&.join("\et") } ; end\*(Aq
+git multi \-\-eval \*(Aq(hooks = client\&.hooks(full_name))\&.any? && begin print full_name ; print "\et" ; puts hooks\&.map { |hook| ["", hook\&.name, hook\&.config\&.url]\&.join("\et") } ; end\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
@@ -392,11 +404,11 @@
.sp
.if n \{\
.RS 4
.\}
.nf
-git multi \-\-eval \*(Aq(keys = client\&.list_deploy_keys(project\&.full_name))\&.any? && begin print project\&.full_name ; print "\et" ; puts keys\&.map(&:title)\&.sort\&.join("\et") ; end\*(Aq
+git multi \-\-eval \*(Aq(keys = client\&.list_deploy_keys(full_name))\&.any? && begin print full_name ; print "\et" ; puts keys\&.map(&:title)\&.sort\&.join("\et") ; end\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
@@ -480,21 +492,21 @@
.if n \{\
.RS 4
.\}
.nf
# print out each repository\*(Aqs name and its description
-git multi \-\-json | jq \*(Aq\&.[] | \&.name + ": " + \&.description\*(Aq
+git multi \-\-json | jq \-r \*(Aq\&.[] | \&.name + ": " + \&.description\*(Aq
.fi
.if n \{\
.RE
.\}
.sp
.if n \{\
.RS 4
.\}
.nf
# print out the name of all "forked" repositories
-git multi \-\-json | jq \*(Aq\&.[] | select(\&.fork == true) | \&.full_name\*(Aq
+git multi \-\-json | jq \-r \*(Aq\&.[] | select(\&.fork == true) | \&.full_name\*(Aq
.fi
.if n \{\
.RE
.\}
.SH "FILES"