Skip to content

Commit 5d6aba9

Browse files
committed
Finishing tasks for 0.4.0 release
1 parent 74339e8 commit 5d6aba9

File tree

7 files changed

+75
-31
lines changed

7 files changed

+75
-31
lines changed

Changes

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,40 @@
11
---
2+
version: 0.4.0
3+
date: Thu Nov 8 12:26:38 CET 2018
4+
changes:
5+
- Fix #325 Do not squash main repo commits
6+
- Improve error message for worktree handling
7+
- Make version checking portable. #307
8+
- #307, improve version check
9+
- #307, update version requirement
10+
- Fix part #308, Add stderr output if commands fail
11+
- Fix #306: Add check to prevent following commits with no .gitrepo
12+
- Remove dry-run flag as it's not implemented. Make sure branch --force delete worktree
13+
- Fix #296, Replace --first-parent with --ancestry-path
14+
- Fix #291, specify Trusty host to get new 2.x git
15+
- Fix #258, add --no-tags to git fetch
16+
- Test that no remotes are created during clone
17+
- #257 Remove remote creation to avoid problems with fetch --all
18+
- (origin/issue/150_to_0.4.0) Fix remove-worktree, remove unused parameters
19+
- Regenerate completion files
20+
- filter-branch operation should not be done on HEAD
21+
- Cleanup push and add hint to push directly after pull
22+
- Simplify cleanup and add worktree to status
23+
- Add --method option to init/clone, add a 'config' command
24+
- Updated unit tests to support the new logic
25+
- Use 'git worktree' for merge/rebase
26+
- Update docs to reflect how things should work
27+
- Make it possible to specify commit messages
28+
- Redesign, trash the tree hash approach and use merges instead
29+
- Add release branches to travis-ci
30+
- Add --method option to init/clone, add a 'config' command
31+
- Detect multiple pulls, use -u flag to decide
32+
- Don't reuse previous commit message when using --all
33+
- Update the docs for pull and push
34+
- Update error messages when failing merge/rebase
35+
- Fix env var bug in test/push.t
36+
- Do not overwrite author information
37+
---
238
version: 0.3.1
339
date: Tue Jan 3 23:08:56 PST 2017
440
changes:

Meta

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
=meta: 0.0.2
22

33
name: git-subrepo
4-
version: 0.3.1
4+
version: 0.4.0
55
abstract: Git Submodule Alternative
66
homepage: https://github.com/ingydotnet/git-subrepo#readme
77
license: MIT
8-
copyright: 2013-2017
8+
copyright: 2013-2018
99

1010
author:
1111
name: Ingy döt Net

ReadMe.pod

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
=pod
22

33
=for comment
4-
DO NOT EDIT. This Pod was generated by Swim v0.1.41.
4+
DO NOT EDIT. This Pod was generated by Swim v0.1.46.
55
See http://github.com/ingydotnet/swim-pm#readme
66

77
=encoding utf8
@@ -10,7 +10,8 @@ See http://github.com/ingydotnet/swim-pm#readme
1010

1111
git-subrepo - Git Submodule Alternative
1212

13-
<badge travis ingydotnet/git-subrepo>
13+
=for html
14+
<a href="https://travis-ci.org/ingydotnet/git-subrepo"><img src="https://travis-ci.org/ingydotnet/git-subrepo.png" alt="git-subrepo"></a>
1415

1516
=head1 Synopsis
1617

@@ -682,14 +683,20 @@ C<irc.freenode.net>.
682683

683684
=back
684685

685-
=head1 Author
686+
=head1 Authors
686687

687-
Written by Ingy döt Net <[email protected]>
688+
=over
689+
690+
=item * Ingy döt Net <[email protected]>
691+
692+
=item * Magnus Carlsson <[email protected]>
693+
694+
=back
688695

689696
=head1 License and Copyright
690697

691698
The MIT License (MIT)
692699

693-
Copyright (c) 2013-2017 Ingy döt Net
700+
Copyright (c) 2013-2018 Ingy döt Net
694701

695702
=cut

doc/git-subrepo.swim

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,12 +600,13 @@ If you want to chat about the `git-subrepo` command, join `#gitcommands` on
600600
* Written in (very modern) Bash, with full test suite. Take a look.
601601
* A `.gitrepo` file never is in the top level dir (next to a `.git/` dir).
602602

603-
= Author
603+
= Authors
604604

605-
Written by Ingy döt Net <[email protected]>
605+
* Ingy döt Net <[email protected]>
606+
* Magnus Carlsson <[email protected]>
606607

607608
= License and Copyright
608609

609610
The MIT License (MIT)
610611

611-
Copyright (c) 2013-2017 Ingy döt Net
612+
Copyright (c) 2013-2018 Ingy döt Net

man/man1/git-subrepo.1

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.29)
1+
.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35)
22
.\"
33
.\" Standard preamble:
44
.\" ========================================================================
@@ -46,7 +46,7 @@
4646
.ie \n(.g .ds Aq \(aq
4747
.el .ds Aq '
4848
.\"
49-
.\" If the F register is turned on, we'll generate index entries on stderr for
49+
.\" If the F register is >0, we'll generate index entries on stderr for
5050
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
5151
.\" entries marked with X<> in POD. Of course, you'll have to process the
5252
.\" output yourself in some meaningful fashion.
@@ -56,12 +56,12 @@
5656
..
5757
.nr rF 0
5858
.if \n(.g .if rF .nr rF 1
59-
.if (\n(rF:(\n(.g==0)) \{
60-
. if \nF \{
59+
.if (\n(rF:(\n(.g==0)) \{\
60+
. if \nF \{\
6161
. de IX
6262
. tm Index:\\$1\t\\n%\t"\\$2"
6363
..
64-
. if !\nF==2 \{
64+
. if !\nF==2 \{\
6565
. nr % 0
6666
. nr F 2
6767
. \}
@@ -70,17 +70,15 @@
7070
.rr rF
7171
.\" ========================================================================
7272
.\"
73-
.IX Title "git-subrepo 1"
74-
.TH git-subrepo 1 "August 2017" "Generated by Swim v0.1.41" "Git Submodule Alternative"
73+
.IX Title "STDIN 1"
74+
.TH STDIN 1 "November 2018" "Generated by Swim v0.1.46" "Git Submodule Alternative"
7575
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
7676
.\" way too many mistakes in technical documents.
7777
.if n .ad l
7878
.nh
7979
.SH "Name"
8080
.IX Header "Name"
8181
git-subrepo \- Git Submodule Alternative
82-
.PP
83-
<badge travis ingydotnet/git\-subrepo>
8482
.SH "Synopsis"
8583
.IX Header "Synopsis"
8684
.Vb 1
@@ -303,7 +301,7 @@ the \f(CW\*(C`branch\*(C'\fR command and merge things yourself before pushing if
303301
(although that is probably a rare use case).
304302
.Sp
305303
The \f(CW\*(C`push\*(C'\fR command requires a branch that has been properly merged/rebased
306-
with the upstream \s-1HEAD \s0(unless the upstream \s-1HEAD\s0 is empty, which is common
304+
with the upstream \s-1HEAD\s0 (unless the upstream \s-1HEAD\s0 is empty, which is common
307305
when doing a first \f(CW\*(C`push\*(C'\fR after an \f(CW\*(C`init\*(C'\fR). That means the upstream \s-1HEAD\s0 is
308306
one of the commits in the branch.
309307
.Sp
@@ -736,11 +734,14 @@ The \f(CW\*(C`git\-subrepo\*(C'\fR repo itself has 2 subrepos under the \f(CW\*(
736734
Written in (very modern) Bash, with full test suite. Take a look.
737735
.IP "\(bu" 4
738736
A \f(CW\*(C`.gitrepo\*(C'\fR file never is in the top level dir (next to a \f(CW\*(C`.git/\*(C'\fR dir).
739-
.SH "Author"
740-
.IX Header "Author"
741-
Written by Ingy döt Net <[email protected]>
737+
.SH "Authors"
738+
.IX Header "Authors"
739+
.IP "\(bu" 4
740+
Ingy döt Net <[email protected]>
741+
.IP "\(bu" 4
742+
Magnus Carlsson <[email protected]>
742743
.SH "License and Copyright"
743744
.IX Header "License and Copyright"
744745
The \s-1MIT\s0 License (\s-1MIT\s0)
745746
.PP
746-
Copyright (c) 2013\-2017 Ingy döt Net
747+
Copyright (c) 2013\-2018 Ingy döt Net

share/completion.bash

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
# DO NOT EDIT. This file generated by pkg/bin/generate-completion.pl.
44

55
_git_subrepo() {
6-
local _opts=" -h --help --version -a --all -A --ALL -b= --branch= -e --edit -f --force -F --fetch -M= --method= --Default -m= --message= -N --dry-run -r= --remote= -s --squash -u --update -q --quiet -v --verbose -d --debug -x --DEBUG"
7-
local subcommands="branch clean clone clone clone commit commit commit config fetch fetch fetch help help help init pull pull pull push push push status status status upgrade version"
8-
local subdircommands="branch clean commit commit commit config fetch fetch fetch pull pull pull push push push status status status"
6+
local _opts=" -h --help --version -a --all -A --ALL -b= --branch= -e --edit -f --force -F --fetch -M= --method= --Default -m= --message= -r= --remote= -s --squash -u --update -q --quiet -v --verbose -d --debug -x --DEBUG"
7+
local subcommands="branch clean clone commit config fetch help init pull push status upgrade version"
8+
local subdircommands="branch clean commit config fetch pull push status"
99
local subcommand="$(__git_find_on_cmdline "$subcommands")"
1010

1111
if [ -z "$subcommand" ]; then

share/zsh-completion/_git-subrepo

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ _git-subrepo() {
2727
'(-M --method)'{-M,--method}'[Method when you join, valid options are '"'"'merge'"'"' or '"'"'rebase'"'"']:M' \
2828
'--Default[is '"'"'merge'"'"']' \
2929
'(-m --message)'{-m,--message}'[Specify a commit message]:m' \
30-
'(-N --dry-run)'{-N,--dry-run}'[Don'"'"'t push or commit (prints next commands to run)]' \
3130
'(-r --remote)'{-r,--remote}'[Specify the upstream remote to push/pull/fetch]:r' \
3231
'(-s --squash)'{-s,--squash}'[Squash commits on push]' \
3332
'(-u --update)'{-u,--update}'[Add the --branch and/or --remote overrides to .gitrepo]' \
@@ -39,7 +38,7 @@ _git-subrepo() {
3938

4039
case $state in
4140
subcmd)
42-
compadd branch clean clone clone clone commit commit commit config fetch fetch fetch help help help init pull pull pull push push push status status status upgrade version
41+
compadd branch clean clone commit config fetch help init pull push status upgrade version
4342
;;
4443

4544
args)
@@ -58,7 +57,7 @@ _git-subrepo() {
5857
esac
5958
;;
6059

61-
branch|clean|commit|commit|commit|config|fetch|fetch|fetch|pull|pull|pull|push|push|push|status|status|status)
60+
branch|clean|commit|config|fetch|pull|push|status)
6261
_compadd_subdirs
6362
;;
6463

@@ -67,7 +66,7 @@ _git-subrepo() {
6766
;;
6867

6968
help)
70-
compadd branch clean clone clone clone commit commit commit config fetch fetch fetch help help help init pull pull pull push push push status status status upgrade version
69+
compadd branch clean clone commit config fetch help init pull push status upgrade version
7170
;;
7271
esac
7372
;;

0 commit comments

Comments
 (0)