| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
| |
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
| |
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
| |
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
| |
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
|
|
|
|
|
| |
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]>
|
| |
|
|
|
|
| |
Parse -k and -k KEY and -k HEAD is basically bad definition.
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
| |
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
|
|
|
|
|
|
| |
Similar to Git, scripts including the dispatcher sib are grouped into
libexec/sib-core, and symlinks are created in bin/sib. Additionally,
libexec/sib-core is added to the PATH when executing any script inside
sib. I don't really see any downside to adding to the PATH and loading
the script. It's clear.
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
| |
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
|
|
|
| |
Early return when -k given doesn't look ideal, but making it would
more expensive. Think about it later maybe?
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
| |
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
|
|
|
| |
Again, let's think about complex things like rendering later. It is
actually uncomfortable to read when Markdown is incomplete.
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
|
|
|
| |
The existing implementation also filters out content in the middle of
the key.
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
|
|
|
| |
Since sib json series internally call sib ls-trace and such anyway,
doing it this way is much faster.
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
|
|
| |
It'll be best to think things like nice printing later.
Signed-off-by: Hee-Suk Kim <[email protected]>
|
| |
|
|
| |
Signed-off-by: Hee-Suk Kim <[email protected]>
|
|
|
It seems to be slowing down a bit due to the fork cost, but doing it
this way makes it easier to maintain the output format.
Additionally configured the output format to iterate through the JSON
and print everything except the content key. Git, on the other hand,
seems to use `git show` and `git log` for output, but that will be an
issue when optimizing later.
Signed-off-by: Hee-Suk Kim <[email protected]>
|