Commit graph

1412 commits

Author SHA1 Message Date
Rémy HUBSCHER 739ca052b4
Add documentation. 2020-03-19 16:10:20 +01:00
Rémy HUBSCHER 629fc03581
Add first version of git-cp 2020-03-19 15:49:07 +01:00
罗泽轩 dd0337c3cf
Merge pull request #824 from mapitman/master
Fix documentation for git-browse
2020-03-19 11:30:58 +08:00
Mark Pitman 6b4188404b Fix documentation for git-browse 2020-03-18 09:55:40 -07:00
罗泽轩 79ae65fe64
Merge pull request #823 from mapitman/master
Add git-browse command
2020-03-18 14:06:33 +08:00
Mark Pitman f6cf59c380 Implement suggested changes from code review
Use bash string replacement instead of sed for simple replacement
Use http URLs instead of https (sites that reuqire https should be
auto-redirecting anyway)

 #666
2020-03-17 21:12:07 -07:00
Mark Pitman 362a0c29ae Add git-browse command
Handles git@server and https://server remotes.
Allows specification of the remote to open
Closes #666
2020-03-15 01:40:09 -07:00
罗泽轩 be50c2f3f5
Merge pull request #820 from spacewander/deprecate_git_back
change: deprecate git-back
2020-02-25 21:23:29 +08:00
spacewander 3917c774ec change: deprecate git-back
Thanks @vr8hub for the report.

git-back will be removed in the next next release.
2020-02-23 11:41:54 +08:00
罗泽轩 b708a8a4d3
Merge pull request #817 from bric3/adds-git-brv
Fixes #770: Adds git-brv
2020-01-15 18:09:48 +08:00
Brice Dutheil 80cd52701e
Fixes #770: Adds git-brv 2020-01-15 10:46:19 +01:00
罗泽轩 265b03e400
Merge pull request #816 from spacewander/git-sed-pathspec
git-sed: limit paths via pathspec
2020-01-08 10:08:37 +08:00
spacewander 4b9f1619f6 git-sed: limit paths via pathspec 2020-01-03 18:22:34 +08:00
spacewander 6438dee914 Bump version to 5.2.0-dev. 2019-12-23 18:28:13 +08:00
spacewander 2a65a7aa8b Version 5.1.0 2019-12-21 13:53:03 +08:00
罗泽轩 2c689db6d7
Merge pull request #813 from spacewander/release-fix
some fixes before release
2019-12-21 13:42:51 +08:00
spacewander 2067d26276 git-bulk: support cloning from a relative path 2019-12-21 13:35:59 +08:00
spacewander aefa3c9ff6 git-standuo: clarify the -a option 2019-12-21 13:12:10 +08:00
spacewander 3b2f6611d6 git-paste: check pastebinit before running it
We don't force to install pastebinit because it is not widely used in
git-extras.
2019-12-20 22:08:02 +08:00
spacewander ecff5e1a3c git-coauthor: quote variable in the comparison 2019-12-20 18:22:06 +08:00
spacewander eb33c9bf5a git-bulk: don't disappoint shellcheck 2019-12-20 18:21:29 +08:00
罗泽轩 bd8fa031cc
Merge pull request #812 from spacewander/git-sed-escape
git-sed: escape special characters for tr
2019-12-18 11:25:18 +08:00
spacewander 4d5b53aea2 git-sed: escape special characters for tr
Some special patterns like `n-l`, `[:alpha:]` need to be escaped to avoid
confusing tr.
2019-12-16 22:19:30 +08:00
罗泽轩 69e96cba95
Merge pull request #811 from eli-schwartz/portability
build: do not require the nonstandard and unpredictable 'which' utility
2019-12-13 10:01:41 +08:00
Eli Schwartz e836b6ce4c
build: do not require the nonstandard and unpredictable 'which' utility
This may not be installed on various systems, and it's difficult to test
for the availability of the tool you need, if the check program itself
does not exist.

The POSIX 2008 specification mandates the `command -v` builtin; bash is
a POSIX 2008 compliant shell, and this builtin has worked since bash 1.x
anyway.

A side benefit of using the POSIX portable option is that it requires
neither an external disk executable, nor (because unlike "which", the
exit code is reliable) a subshell fork. This therefore represents a mild
speedup.
2019-12-12 00:13:30 -05:00
Roshak Zarhoun 16bb0df9f9 add repositories to workspace from source (#804)
* make addworkspace clone multiple repositories into ws from list of URLs in a file

* extend usage

* check if source is file or URL

* update Commands.md

* checked allwedargcount function

* resolved merge conflicts and change requests

* update manuals

* change the order of error and usage in allwedargcount()

* improve URL matcher. include also SSH protocol
2019-12-10 21:57:32 +08:00
罗泽轩 bb7d389084
Merge pull request #810 from roxchgt/read-not-need-repo
read COMMANDS_WIHOUT_REPO from not_need_git_repo file
2019-12-10 11:31:22 +08:00
roxchgt 7a66b157f0 read COMMANDS_WIHOUT_REPO from not_need_git_repo file 2019-12-09 17:13:56 +01:00
罗泽轩 2fe53ac791
Merge pull request #806 from spacewander/retire_make_with_msys
retire the msysgit installation script
2019-12-07 19:22:03 +08:00
罗泽轩 d0636d2b07
Merge pull request #808 from drasill/master
git-ignore: support non-default .git directory
2019-12-07 19:13:31 +08:00
Christophe Badoit 41ebe0e0bf git-ignore: support non-default .git directory
useful for submodules.

Closes tj/git-extras#807
2019-12-06 17:23:19 +01:00
spacewander 6b8729a819 retire the msysgit installation script
The Makefile.msys is out of sync. Use install.cmd instead.
2019-12-06 16:44:30 +08:00
罗泽轩 29f6d0e0e0
Merge pull request #802 from spacewander/fix-git-bulk-arg-count
fix bug in allowedargcount() to not execute command if wrong args count
2019-12-05 18:26:57 +08:00
spacewander 83349426d1 git-bulk: line break is need in the SYNOPSIS doc section 2019-12-02 16:10:15 +08:00
roxchgt 45647fdab3 fix bug in allowedargcount() to not execute command if wrong args count 2019-12-01 11:33:59 +08:00
罗泽轩 67c2bf595f
Merge pull request #801 from spacewander/fix-delete-submodule
git-delete-submodule: don't remove the history of deleted submodule
2019-12-01 11:31:22 +08:00
spacewander 4d4b87ccb8 git-delete-submodule: don't remove the history of deleted submodule
This hurted 'git blame' and other git operation which relies on history.

Fix #799.
2019-11-29 17:43:22 +08:00
罗泽轩 292149c46f
Merge pull request #798 from wolviecb/signed_release
Signed release
2019-11-26 17:27:33 +08:00
Tom Andrade 704b1b4fdd Add flags -s and -u for signed tags 2019-11-26 08:31:06 +01:00
罗泽轩 a6a1754093
Merge pull request #795 from spacewander/git-squash-commit-msg
Git squash commit msg
2019-11-05 18:12:43 +08:00
罗泽轩 b0d3a77ac0
Merge pull request #793 from spacewander/git-standup-group-by-branch
git-standup: add option '-B' to group the commits by branch
2019-11-05 17:57:49 +08:00
spacewander 46ea733983 git-squash: miss completion script change 2019-11-05 10:35:36 +08:00
spacewander f4e313d3f2 git-squash: clean up shellcheck warnings 2019-11-05 10:30:37 +08:00
spacewander 1924eb9197 git-squash: add --squash-messages to concat commit messages into one. 2019-11-05 10:28:51 +08:00
spacewander 952d1eb76f git-standup: add option to limit the number of commit 2019-11-04 11:36:29 +08:00
罗泽轩 f2934bd0bd
Merge pull request #789 from go2null/delete-empty-gitmodules
Delete empty gitmodules
2019-11-03 11:42:18 +08:00
spacewander 677f570f34 git-delete-submodule: comment the DUMMY prefix and ignore the output of grep -v. 2019-11-03 11:30:03 +08:00
spacewander 227c19bb67 git-standup: add separate newline between the output 2019-11-03 10:53:40 +08:00
go2null 1f605df053 add PR changes 2019-11-02 04:32:36 -04:00
go2null 17d1a471a4 add --force option to continue on error 2019-11-02 04:32:36 -04:00