Commit graph

1387 commits

Author SHA1 Message Date
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
go2null f00c1389d6 improve readability 2019-11-02 04:32:36 -04:00
go2null 4f35f8cad8 display git submodule status output before exiting 2019-11-02 04:32:36 -04:00
go2null 5ea4a626a6 check git submodule status before declaring success 2019-11-02 04:32:36 -04:00
go2null 4bb273a802 reorganize flow 2019-11-02 04:32:36 -04:00
go2null 4a47ea034b delete empty .gitmodules 2019-11-02 04:32:36 -04:00
spacewander 7b9fbc4389 git-standup: add option '-B' to group the commits by branch 2019-11-01 17:32:55 +08:00
罗泽轩 2883b67644
Merge pull request #792 from spacewander/git-summary-cleanup
clean up git-summary
2019-11-01 17:16:07 +08:00
spacewander f788c789f3 git-summary: clean up other shellcheck warnings 2019-10-31 18:30:46 +08:00
spacewander 3e8c3ab0c4 git-summary: fix incorrect active days when commits range is given
Previous when commits range is given, we count the active days of whole
history because we didn't pass the argument.
2019-10-31 17:56:41 +08:00
spacewander ff991ac99e git-summary: remove useless result function.
This function was introduced when merging `bin/git-line-summary` into
`bin/git-summary`.
2019-10-31 17:56:41 +08:00
罗泽轩 a14547e92f
Merge pull request #790 from spacewander/git-summary-merge-email
git-summary: add --dedup-by-email to remove duplicate users
2019-10-31 10:01:35 +08:00
spacewander 203f5b48ad git-summary: add --dedup-by-email to remove duplicate users 2019-10-27 09:04:27 +08:00
hemanth.hm 7bdfb1f55f
Merge pull request #788 from spacewander/doc_git_summary_line
git-summary: add missing example of --line option
2019-10-15 13:02:43 -07:00
spacewander cf3e1e7e7d git-summary: add missing example of --line option 2019-10-15 10:13:32 +08:00
罗泽轩 fd36fc0ea2
Merge pull request #787 from rvbuelow/patch-1
Use GIT_DIR environment variable to to set .git directory
2019-10-02 19:23:08 +08:00
罗泽轩 eb9ddbe8a9
Merge pull request #786 from mbologna/patch-1
Docs: add OpenSUSE distribution information
2019-10-02 19:11:00 +08:00
Robin von Bülow 256044c04f
Use GIT_DIR environment variable to to set .git directory 2019-10-02 12:42:14 +02:00
Michele Bologna 0cd55d88bf
Docs: add OpenSUSE distribution information 2019-10-01 20:59:48 +02:00
罗泽轩 bba1f964b8
Merge pull request #784 from spacewander/git-effort-col-len
git-effort: adjust column limit according to the paths
2019-09-25 10:30:31 +08:00
spacewander 7015501161 git-effort: adjust column limit according to the paths
Fix #780.
2019-09-24 14:32:54 +08:00
罗泽轩 ff0b1cfb0b
Merge pull request #708 from pabs3/git-paste
Add git-paste for sending patches to pastebin
2019-09-10 11:24:30 +08:00
Paul Wise d90b02ce22
Regenerate docs
Changes-by: make man/git-paste.{1,html}
2019-09-10 10:40:22 +08:00
Paul Wise 5b62b4a884
Add git-paste for sending patches to pastebin 2019-09-10 10:39:20 +08:00
罗泽轩 f7d127b360
Merge pull request #778 from pabs3/cleanups
Clean up some minor issues detected by check-all-the-things
2019-09-06 14:46:15 +08:00
Paul Wise 1d7d4c2446
Switch from using /tmp to using mktemp
mktemp protects against attacks from other users.
mktemp protects against concurrent writers.
mktemp respects the $TMPDIR environment variable.

Suggested-by: check-all-the-things
2019-09-05 12:41:45 +08:00