aboutsummaryrefslogtreecommitdiff
path: root/sib-edit
Commit message (Collapse)AuthorAgeFilesLines
* Update licenseHee-Suk Kim10 days1-1/+1
|
* Add LicenseHee-Suk Kim2026-08-051-0/+2
| | | | Signed-off-by: Hee-Suk Kim <[email protected]>
* Add shopts mannually for each scriptsHee-Suk Kim2026-07-251-0/+2
| | | | Signed-off-by: Hee-Suk Kim <[email protected]>
* Change ls-trace format to <hash>/t<key>Hee-Suk Kim2026-07-231-4/+4
| | | | | | | | | By arraying the hash first, parsing became slightly easier (<hash> is the normalized value, <key> can be anything), and using \t as a separator allowed whitespace to be entered into <key> (although it is currently rejected). Signed-off-by: Hee-Suk Kim <[email protected]>
* sib-edit: changed to output the modified chain and update HEADHee-Suk Kim2026-07-181-1/+4
| | | | | | | | | | | | | In any case, the intention was to change the HEAD when running sib-edit. The user's choice is whether to use the edited chain, the HEAD, or the one in between. The option to select the one in between does not need to be provided here, and it is more natural to have the HEAD updated to a new HEAD and the modified chain output rather than the chain being shortened. With this change `sib ask -p $(sib edit abcdefu) -r' could be used. Signed-off-by: Hee-Suk Kim <[email protected]>
* sib-edit: add early return and improve error handlingHee-Suk Kim2026-06-061-2/+8
| | | | | | | | Opt to return immediately in the editor when the file has not changed. I didn't want to change the existing code, so just use tee to load oldblob in the middle and compared it with cat. Signed-off-by: Hee-Suk Kim <[email protected]>
* sib-edit: implement HEAD to argument rebaseHee-Suk Kim2026-06-061-0/+62
Signed-off-by: Hee-Suk Kim <[email protected]>