[PR #42] [MERGED] Change Inheritance structure #79

Closed
opened 2026-03-02 16:48:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/initialcommit-com/git-sim/pull/42
Author: @paketb0te
Created: 1/29/2023
Status: Merged
Merged: 1/29/2023
Merged by: @initialcommit-io

Base: mainHead: inheritance-pr


📝 Commits (10+)

  • 32ce2f5 make GitSimBaseCommand a Manim Scene subclass
  • 7fe2838 convert GitSimAdd to new inheritance model
  • 6838495 convert GitSimBranch to new inheritance model
  • b70dfc5 convert GitSimCherryPick to new inheritance model
  • 784dbec convert GitSimCommit to new inheritance model
  • 8ab739b convert GitSimLog to new inheritance model
  • dd79e32 convert GitSimMerge to new inheritance model
  • ec4f7cf convert GitSimRebase to new inheritance model
  • a6d739a convert GitSimReset to new inheritance model
  • 0155c44 convert GitSimRestore to new inheritance model

📊 Changes

16 files changed (+421 additions, -496 deletions)

View changed files

📝 git_sim/__main__.py (+58 -6)
git_sim/git_sim.py (+0 -56)
📝 git_sim/git_sim_add.py (+10 -12)
📝 git_sim/git_sim_base_command.py (+169 -181)
📝 git_sim/git_sim_branch.py (+11 -15)
📝 git_sim/git_sim_cherrypick.py (+12 -17)
📝 git_sim/git_sim_commit.py (+18 -17)
📝 git_sim/git_sim_log.py (+5 -12)
📝 git_sim/git_sim_merge.py (+19 -23)
📝 git_sim/git_sim_rebase.py (+29 -35)
📝 git_sim/git_sim_reset.py (+29 -41)
📝 git_sim/git_sim_restore.py (+10 -14)
📝 git_sim/git_sim_revert.py (+24 -30)
📝 git_sim/git_sim_stash.py (+12 -14)
📝 git_sim/git_sim_status.py (+5 -9)
📝 git_sim/git_sim_tag.py (+10 -14)

📄 Description

Refactoring the inheritance model as discussed in #38.

@initialcommit-io let me know what you think!

(We should probably squash all those separate commits before merging 😅 )


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/initialcommit-com/git-sim/pull/42 **Author:** [@paketb0te](https://github.com/paketb0te) **Created:** 1/29/2023 **Status:** ✅ Merged **Merged:** 1/29/2023 **Merged by:** [@initialcommit-io](https://github.com/initialcommit-io) **Base:** `main` ← **Head:** `inheritance-pr` --- ### 📝 Commits (10+) - [`32ce2f5`](https://github.com/initialcommit-com/git-sim/commit/32ce2f514bff2d6885e96ef045246cf48ac1fdff) make GitSimBaseCommand a Manim Scene subclass - [`7fe2838`](https://github.com/initialcommit-com/git-sim/commit/7fe283814e4ae01c2d687ae780e6b4711793c7fe) convert GitSimAdd to new inheritance model - [`6838495`](https://github.com/initialcommit-com/git-sim/commit/68384951d68455cc9c9b31f8a19510238ac4fa71) convert GitSimBranch to new inheritance model - [`b70dfc5`](https://github.com/initialcommit-com/git-sim/commit/b70dfc58acb4997eee3b02214fd8a4cc2d1a4aeb) convert GitSimCherryPick to new inheritance model - [`784dbec`](https://github.com/initialcommit-com/git-sim/commit/784dbecc831ac58bf7ee9b8bd2af81b21bdb4093) convert GitSimCommit to new inheritance model - [`8ab739b`](https://github.com/initialcommit-com/git-sim/commit/8ab739ba6535b11016e8dc9350bc6fdbaff052b4) convert GitSimLog to new inheritance model - [`dd79e32`](https://github.com/initialcommit-com/git-sim/commit/dd79e32aea638ffc3eb0eb9f4f7e15428c1a3372) convert GitSimMerge to new inheritance model - [`ec4f7cf`](https://github.com/initialcommit-com/git-sim/commit/ec4f7cf96205c7abb7e081fbb471d6ba66a281ab) convert GitSimRebase to new inheritance model - [`a6d739a`](https://github.com/initialcommit-com/git-sim/commit/a6d739aa03100b71f00fd2d5cc8c4e483103428f) convert GitSimReset to new inheritance model - [`0155c44`](https://github.com/initialcommit-com/git-sim/commit/0155c4410ca98a0eebc30a27d3ffbd9e7897be40) convert GitSimRestore to new inheritance model ### 📊 Changes **16 files changed** (+421 additions, -496 deletions) <details> <summary>View changed files</summary> 📝 `git_sim/__main__.py` (+58 -6) ➖ `git_sim/git_sim.py` (+0 -56) 📝 `git_sim/git_sim_add.py` (+10 -12) 📝 `git_sim/git_sim_base_command.py` (+169 -181) 📝 `git_sim/git_sim_branch.py` (+11 -15) 📝 `git_sim/git_sim_cherrypick.py` (+12 -17) 📝 `git_sim/git_sim_commit.py` (+18 -17) 📝 `git_sim/git_sim_log.py` (+5 -12) 📝 `git_sim/git_sim_merge.py` (+19 -23) 📝 `git_sim/git_sim_rebase.py` (+29 -35) 📝 `git_sim/git_sim_reset.py` (+29 -41) 📝 `git_sim/git_sim_restore.py` (+10 -14) 📝 `git_sim/git_sim_revert.py` (+24 -30) 📝 `git_sim/git_sim_stash.py` (+12 -14) 📝 `git_sim/git_sim_status.py` (+5 -9) 📝 `git_sim/git_sim_tag.py` (+10 -14) </details> ### 📄 Description Refactoring the inheritance model as discussed in #38. @initialcommit-io let me know what you think! (We should probably squash all those separate commits before merging :sweat_smile: ) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 16:48:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-sim#79
No description provided.