• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Mercurial Queues Emulation for Git


コミットメタ情報

リビジョン880e599024339bdd06e71903341b0a0b35d0fb02 (tree)
日時2022-02-13 02:32:33
作者Keith Marshall <keith@user...>
コミッターKeith Marshall

ログメッセージ

Install aliases for "git qdelete" and "git qrename".

* Makefile.in (install_alias): New functional macro; use it...
(install-bin-scripts): ...here, to create $bindir aliases for...
(git-qremove, git-qrm): ...each of these, both linked to...
(git-qdelete): ...this.
(git-qmv): Create a further $bindir alias, linking it to...
(git-qrename): ...this.
(install-man-pages): Likewise, create $man1dir aliases for...
(git-qremove.1, git-qrm.1): ...each of these, linked to...
(git-qdelete.1): ...this, and likewise...
(git-qmv.1): ...this, linked to...
(git-qremove.1): ...this.

* git-qdelete.1.man (git qremove, git qrm)
* git-qrename.1.man (git qmv): Document aliases.

変更サマリ

差分

--- a/Makefile.in
+++ b/Makefile.in
@@ -8,7 +8,7 @@ PACKAGE_TARNAME := @PACKAGE_TARNAME@
88 PACKAGE_VERSION := @PACKAGE_VERSION@
99 #
1010 # Written by Keith Marshall <keith@users.osdn.me>
11-# Copyright (C) 2018, 2019, Keith Marshall
11+# Copyright (C) 2018, 2019, 2022, Keith Marshall
1212 #
1313 # ------------------------------------------------------------------------------
1414 #
@@ -164,6 +164,11 @@ DO_INSTALL = echo $(INSTALL) $1 $2; $(INSTALL) $1 $2
164164
165165 install-bin-scripts: $(addprefix git-,$(mq_supported))
166166 @$(call INSTALL_SCRIPTS,$^,-m 755,${bindir})
167+ $(call install_alias,qmv,qrename,bindir)
168+ $(call install_alias,qremove,qdelete,bindir)
169+ $(call install_alias,qrm,qdelete,bindir)
170+
171+install_alias = ln -f $(addprefix ${$3}/git-,$2 $1)
167172
168173 vpath %.sh ${srcdir}
169174 vpath %.awk ${srcdir}
@@ -223,6 +228,9 @@ install-man: ${man1dir} install-man-pages
223228 install-man-pages: $(wildcard ${srcdir}/man/*.man)
224229 cd ${man1dir}; rm -f $(notdir $(^:.man=))
225230 $(QUIET_MAKE) $(addprefix ${man1dir}/,$(notdir $(^:.man=)))
231+ $(call install_alias,qmv.1,qrename.1,man1dir)
232+ $(call install_alias,qremove.1,qdelete.1,man1dir)
233+ $(call install_alias,qrm.1,qdelete.1,man1dir)
226234
227235 ${man1dir}/%: %.man
228236 $(call manpage_installer_script,$<) > $@
--- a/man/git-qdelete.1.man
+++ b/man/git-qdelete.1.man
@@ -5,7 +5,7 @@
55 .\" $Id$
66 .\"
77 .\" Written by Keith Marshall <keith@users.osdn.me>
8-.\" Copyright (C) 2019, Keith Marshall
8+.\" Copyright (C) 2019, 2022, Keith Marshall
99 .\"
1010 .\"
1111 .\" This man page file is part of the Git-MQ program suite.
@@ -27,6 +27,10 @@ git\-qdelete \- remove patches from a Git\-MQ series
2727 .
2828 .SH SYNOPSIS
2929 .BR git\ qdelete \ [ \-k \ |\ \-\-keep ]\ < \fIpatch >\ ...
30+.br
31+.BR git\ qremove \ [ \-k \ |\ \-\-keep ]\ < \fIpatch >\ ...
32+.br
33+.BR git\ qrm \ [ \-k \ |\ \-\-keep ]\ < \fIpatch >\ ...
3034 .
3135 .
3236 .ad b
@@ -43,6 +47,15 @@ the associated patch files are also deleted
4347 from the Git-MQ patch directory.
4448 .
4549 .LP
50+The
51+.B git\ qremove
52+and
53+.B git\ qrm
54+forms are simple aliases for
55+.BR git\ qdelete ;
56+all three behave identically.
57+.
58+.LP
4659 Patches which are to be removed must be individually specified,
4760 by name.
4861 If the
@@ -92,7 +105,7 @@ counterpart.
92105 .
93106 .
94107 .SH AUTHOR
95-Copyright (C) 2019, by Keith Marshall
108+Copyright (C) 2019, 2022, by Keith Marshall
96109 .
97110 .LP
98111 This man page was written by
--- a/man/git-qrename.1.man
+++ b/man/git-qrename.1.man
@@ -5,7 +5,7 @@
55 .\" $Id$
66 .\"
77 .\" Written by Keith Marshall <keith@users.osdn.me>
8-.\" Copyright (C) 2019, Keith Marshall
8+.\" Copyright (C) 2019, 2022, Keith Marshall
99 .\"
1010 .\"
1111 .\" This man page file is part of the Git-MQ program suite.
@@ -28,6 +28,9 @@ git\-qrename \- rename the current, or any specified patch
2828 .SH SYNOPSIS
2929 .BR git\ qrename \ \c
3030 .RI [< old\-name >]\ < new\-name >
31+.br
32+.BR git\ qmv \ \c
33+.RI [< old\-name >]\ < new\-name >
3134 .
3235 .
3336 .ad b
@@ -50,6 +53,13 @@ Patches may be renamed,
5053 irrespective of the state of any guards to which they may be subject.
5154 .
5255 .LP
56+The
57+.B git\ qmv
58+form is a simple alias for
59+.BR git\ rename ;
60+both behave identically.
61+.
62+.LP
5363 When both
5464 .RI < old\-name >
5565 and
@@ -90,7 +100,7 @@ counterpart.
90100 .
91101 .
92102 .SH AUTHOR
93-Copyright (C) 2019, by Keith Marshall
103+Copyright (C) 2019, 2022, by Keith Marshall
94104 .
95105 .LP
96106 This man page was written by