Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Feature/config alias #155

Closed
wants to merge 5 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

algernon commented Sep 20, 2011

This patch implements support for multiple workflow setups within a single tree, the way it is explained in #154.

nvie and others added some commits Mar 19, 2010

Support setting "aliases", so one can have multiple workflows in the …
…same tree

To support multiple workflows in the same tree, allow the use of
either symlinks or GIT_FLOW_SELF to select between flows.

This allows one to, for example, set GIT_FLOW_SELF to git-flow-debian,
in which case git flow will look for the gitflow-debian settings in
git config, instead of gitflow.

This, in turn, makes it possible to have a different workflow setup
for upstream development, and packaging development.

All this is accomplished with the introduction of a gitflow_config
function, that does the heavy lifting, and everything that used git
config gitflow.*, will now use git config $(gitflow_config).*.

Requested-By: Holger Levsen <holger@layer-acht.org>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>

asnowfix pushed a commit to asnowfix/gitflow that referenced this pull request Apr 23, 2014

Hooks directory needs to be absolute in config.
During setup the hooks directory suggests a relative path to the root of the repository.
When you execute a git flow command in a subdirectory any hooks and filters won't be executed as the files can't be found.

Fixes: #155

@algernon algernon closed this Mar 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment