Skip to content

Commit

Permalink
print auto context when none found
Browse files Browse the repository at this point in the history
  • Loading branch information
nosarthur committed Sep 5, 2021
1 parent d65cc44 commit 156d177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gita/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ def f_context(args: argparse.Namespace):
if ctx:
group = ctx.stem
print(f"{group}: {' '.join(utils.get_groups()[group]['repos'])}")
elif (Path(common.get_config_dir()) / 'auto.context').exists():
print('auto: none detected!')
else:
print('Context is not set')
else: # set context
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
setup(
name='gita',
packages=['gita'],
version='0.15.6.3',
version='0.15.6.4',
license='MIT',
description='Manage multiple git repos with sanity',
long_description=long_description,
Expand Down

0 comments on commit 156d177

Please sign in to comment.