套件:imediff(3.3.1-1)
interactive full screen 2/3-way merge tool
The imediff command helps you to merge 2 slightly different files with an optional base file interactively using the in-place alternating display of the changed content on a single-pane full screen terminal user interface.
The source of line is clearly identified by the color of the line or the identifier character at the first column.
The advantage of this user interface is the minimal movement of the line of sight for the user.
The line matching logic of imediff has been improved to ignore whitespaces and use partial line matches to provide the best presentation with small chunk of lines.
The automatic 3 way merge logic of the imediff command operates not only on the difference by line but on the difference by character. This is another great feature of the imediff command. So for the non-overlapping changes, it always yields the clean merge.
The "git ime" command helps you to unsquash 2 consecutive commits (`HEAD^`, `HEAD`) of a git repository. The "git rebase -i <treeish>" and "gitk" can be used to organize unsquashed changes.
If any staged changes or local uncommitted changes are found in the git repository, "git ime" immediately exits without changes to be on the safe side.
If the latest commit involves multiple files, "git ime" splits this big commit by the file into multiple smaller commits involving a single file for each commit.
If the latest commit involves only a single file, the commit is split into multiple smaller commits involving a set of minimal partial changes by imediff to be managed interactively later.
This "git ime" is not only useful at the checked out branch head but also at "edit" prompt during the interactive execution of "git rebase -i <treeish>". Execute "git ime" after committing the pending commit.
其他與 imediff 有關的套件
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: vim
- Vi IMproved - 加強版 vi 編輯器
- 或者 emacs
- GNU Emacs editor (metapackage)
同時作為一個虛擬套件由這些套件填實: emacs-gtk, emacs-lucid, emacs-nox, emacs-pgtk - 或者 editor
- 本虛擬套件由這些套件填實: chr, chr-tiny, edbrowse, emacs-gtk, emacs-lucid, emacs-nox, emacs-pgtk, fte-console, fte-terminal, fte-xwindow, jed, jove, jupp, le, levee, lpe, mg, ne, neovim, scite, vile, vim, vim-gtk3, vim-motif, vim-nox, vim-tiny, vis, xjed, xvile
-
- rec: git
- fast, scalable, distributed revision control system