Copyright 2010 Vincent Driessen. All rights reserved.Redistribution and use in source and binary forms, with or without modification,are permitted provided that the following conditions are met:1. Redistributions of source code must retain the above copyright notice,this list of conditions and the following disclaimer.2. Redistributions in binary form must reproduce the above copyright notice,this list of conditions and the following disclaimer in the documentationand/or other materials provided with the distribution.THIS SOFTWARE IS PROVIDED BY VINCENT DRIESSEN ``AS IS'' AND ANY EXPRESS ORIMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENTSHALL VINCENT DRIESSEN OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOTLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, ORPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OFLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCEOR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IFADVISED OF THE POSSIBILITY OF SUCH DAMAGE.The views and conclusions contained in the software and documentation are thoseof the authors and should not be interpreted as representing official policies,either expressed or implied, of Vincent Driessen."
With 'git flow' (gf), it could be interesting to add 'git flow
completion' (gfc) [1].
I'm using it on windows with 'git flow' and it's working.
I just have an issue, open since September the 21st, that completion is
not working with alias.
As no one has answered me on the github repo of gfc, I'm asking here if
someone using git and gf and gfc on windows has the same problem.
I have aliased 'flow feature finish' (closing a feature and merging it
to dev) on fff.
When I write 'git flow feature finish' + tab + tab, I get the list of
the unfinished features.
If I try to do the same with 'git fff' + tab + tab, I get the same list
as 'git flow' + tab + tab
I'm interested to know if it's a problem of gf/gfc or it's a problem
only on my machine.
Thanks for the hard work to enable us to use git on windows.
Mathieu CLAVEL
[1] https://github.com/bobthecow/git-flow-completion
I don't see any git-flow depdencies on msysgit. If you want to get it
included, why not reach for a broader user base, nearly all git users,
by proposing it on g...@vger.kernel.org? If it gets included, msysgit
will have it eventually.
Regarding getopt.exe, git.exe supports parsing options from command
line too (see some git commands written in shell script). It may be
powerful enough for your needs.
--
Duy
On Tue, 6 Dec 2011, Albert wrote:
> IοΏ½ve recently started using οΏ½git flowοΏ½ [1][2] for my development, and
> though it might be nice to include the scripts and distribute them with
> msysGit. They are a fairly useful set of scripts.
Is this the thing that messes up every 'master' branch by making
unnecessary merge commits from a 'development' branch? If so, I am not
quite sure I like it enough.
Maybe when I finally found some time and work on Sebastian's mingwGit
project, we could make git-flow another mingw-get repository?
In any case, you could always make your own installer, so there is no need
to wait for any ACK or NAK.
> Copyright 2010 Vincent Driessen. All rights reserved.
>
> Redistribution and use in source and binary forms, with or without
> modification, are permitted provided that the following conditions are
> met:
>
> [...]
Looks like a BSD license to me.
Ciao,
Johannes
Is this the thing that messes up every 'master' branch by making
unnecessary merge commits from a 'development' branch? If so, I am not
quite sure I like it enough.
Maybe when I finally found some time and work on Sebastian's mingwGit
project, we could make git-flow another mingw-get repository?
Looks like a BSD license to me.
I see no reason not to provide the facility if people want to use
this. However, what you have made available there is a binary snapshot
of something. Its not clear where it came from. If you look at some of
the other bits we bring into msysGit you can see that the normal
scheme is to provide a release.sh script that builds and installs the
item from sources. For instance, the src/tcltk/release.sh fetches the
source distributions, unpacks and applies some patches, builds
everything and installs into the msysGit tree committing it in the
process.
The src/vim/release.sh script is much the same. The reason for this is
that such scripts encapsulate any project specific knowledge needed to
build these projects in our environment. So in future, anyone can see
how to re-build for upgrading the projects or fixing issues.
To summarize, I think we would rather accept a script that repeats
what you did to make the commit you link to rather than just the end
result.
Thanks,
Pat.
It should be fairly simple - you can just copy the vim release.sh and
hack it around until it runs the commands you need. Really these just
freeze what you did to install the git-flow scripts so everyone can
help maintain it in the future.
It should be fairly simple - you can just copy the vim release.sh and
hack it around until it runs the commands you need.
To be honest I don't feel very comfortable with shipping this by default
with Git for Windows. The reasons basically are:
1) People might mistakenly take git-flow* for official Git commands,
with all side effect (reporting issues to us instead of upstream etc.),
and it might be confusing for people working on cross-platform project
that they do not have git-flow on Linux or Mac by default.
2) I'm not sure how large the git-flow user base is, but I have the
feeling it's rather small, and we simply cannot add all sorts of utility
scripts someone asks for. I also have about 10 custom Git scripts that I
use regularly, but I still would not add them to the main distribution.
Maybe someone could come up with an optional "contrib" package instead?
--
Sebastian Schuberth
To be honest I don't feel very comfortable with shipping this by default
with Git for Windows. The reasons basically are: