Mir-git

Latest version: v2.0.0

Safety actively analyzes 618306 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.0.0

------------------

Added
^^^^^

- `save_worktree_and_branch()` context manager.
- `process_env()` function.
- `gitdir()` generic function.
- `worktree()` generic function.
- `GitEnvInterface` for dynamic checking of interface.

Changed
^^^^^^^

- `GitEnv` is now a named tuple.
- `git()` is no longer a generic function.
- `save_worktree()` no longer saves branch.

Fixed
^^^^^

- Work around bug in `git-stash`.

1.2.1

------------------

Fixed
^^^^^

- Make `save_worktree()` raise an exception if any commands fail.

1.2.0

------------------

Added
^^^^^

- Added `get_branches()`.
- Added `default_encoding`.

1.1.1

------------------

Fixed
^^^^^

- Fixed `save_wortree()` printing to stdout/stderr.
- Use `stash create` to make `save_wortree()` more robust.

1.1.0

------------------

Added
^^^^^

- `get_current_branch()`
- `save_branch()`
- `save_worktree()`

1.0.1

------------------

Changed
^^^^^^^

- Fixed various links.
- `git()` now works with bytes and PathLike.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.