Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178164613
D33031.1796163120.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D33031.1796163120.diff
View Options
Index: tools/tools/git/git-arc.1
===================================================================
--- tools/tools/git/git-arc.1
+++ tools/tools/git/git-arc.1
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 14, 2021
+.Dd November 17, 2021
.Dt GIT-ARC 1
.Os
.Sh NAME
@@ -36,6 +36,7 @@
.Op Fl l
.Op Fl r Ar reviewer1 Ns Op Cm \&, Ns Ar reviewer2 ...
.Op Fl s Ar subscriber1 Ns Op Cm \&, Ns Ar subscriber2 ...
+.Op Fl p Ar parent
.Op Ar commit Ns | Ns Ar commit-range
.Nm
.Cm list Ar commit Ns | Ns Ar commit-range
Index: tools/tools/git/git-arc.sh
===================================================================
--- tools/tools/git/git-arc.sh
+++ tools/tools/git/git-arc.sh
@@ -356,15 +356,19 @@
local commit commits doprompt list o prev reviewers subscribers
list=
+ prev=""
if [ "$(git config --bool --get arc.list 2>/dev/null || echo false)" != "false" ]; then
list=1
fi
doprompt=1
- while getopts lr:s: o; do
+ while getopts lp:r:s: o; do
case "$o" in
l)
list=1
;;
+ p)
+ prev="$OPTARG"
+ ;;
r)
reviewers="$OPTARG"
;;
@@ -391,7 +395,6 @@
fi
save_head
- prev=""
for commit in ${commits}; do
if create_one_review "$commit" "$reviewers" "$subscribers" "$prev" \
"$doprompt"; then
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 1, 10:12 PM (21 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42132526
Default Alt Text
D33031.1796163120.diff (1 KB)
Attached To
Mode
D33031: git-arc: with "create" allow to specify parent of the first commit
Attached
Detach File
Event Timeline