git-project-core-plugins 0.0.24__tar.gz → 0.0.25__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/PKG-INFO +1 -1
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/_version.py +2 -2
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/worktree.py +5 -1
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/COPYING +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/MANIFEST.in +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/__init__.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/artifact.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/branch.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/clone.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/common.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/config.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/help.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/init.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/run.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/build/lib/git_project_core_plugins/worktree.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/Makefile +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/README-template.rst +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/authors.rst +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/changelog.rst +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/conf.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/index.rst +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/intro.rst +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/license.rst +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/make.bat +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/gen-readme.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/gen-readme.py~ +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/git_project_core_plugins.egg-info/PKG-INFO +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/git_project_core_plugins.egg-info/SOURCES.txt +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/git_project_core_plugins.egg-info/dependency_links.txt +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/git_project_core_plugins.egg-info/entry_points.txt +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/git_project_core_plugins.egg-info/not-zip-safe +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/git_project_core_plugins.egg-info/requires.txt +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/git_project_core_plugins.egg-info/top_level.txt +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/pyproject.toml +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/requirements.txt +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/__init__.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/artifact.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/branch.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/clone.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/common.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/config.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/help.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/init.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/run.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/src/git_project_core_plugins/worktree.py~ +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/test.out +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/common.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/conftest.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/test_artifact.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/test_branch.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/test_clone.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/test_config.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/test_help.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/test_init.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/test_run.py +0 -0
- {git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/tests/test_worktree.py +0 -0
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.0.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 0,
|
|
21
|
+
__version__ = version = '0.0.25'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 0, 25)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -86,7 +86,11 @@ def get_name_branch_path_and_refname(git, gp, clargs):
|
|
|
86
86
|
path = normalize_path(git, clargs.path)
|
|
87
87
|
refname = git.committish_to_refname('HEAD')
|
|
88
88
|
if hasattr(clargs, 'committish') and clargs.committish:
|
|
89
|
-
|
|
89
|
+
# A committish may resolve to a commit with no ref (bare SHA);
|
|
90
|
+
# committish_to_refname would fail there, so fall back to the
|
|
91
|
+
# committish itself and let create_branch branch at that commit.
|
|
92
|
+
ref = git.committish_to_ref(clargs.committish)
|
|
93
|
+
refname = ref.name if ref is not None else clargs.committish
|
|
90
94
|
|
|
91
95
|
return name, branch, path, refname
|
|
92
96
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{git_project_core_plugins-0.0.24 → git_project_core_plugins-0.0.25}/docs/README-template.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|