Illia Bobyr
90ca78b09c
Skip rebase/cherry-pick progress when it is absent ( #425 )
...
* Skip rebase/cherry-pick progress when absent
In particular, it might not be present when preparing a rebase plan, via
an interactive rebase command.
* My styling
---------
Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2023-07-29 15:33:30 -07:00
Ilan Cosman
7f11fcbe90
Fix error message when git status is massive, add regression test ( fixes #394 )
2023-03-28 17:16:06 -07:00
Ilan Cosman
9d8d1986cb
Add setting to allow shortening git branch from the left
2023-03-26 09:40:37 -07:00
Ilan Cosman
ae7aa9bb47
Truncate the beginning of branch names, not the end
2022-08-22 06:50:13 -04:00
Ilan Cosman
4e0d4ab350
Shorten variable names
2022-06-14 08:52:27 -07:00
Ilan Cosman
6e10b89fc0
Bring back is-inside-git-dir ( fixes #290 )
2022-04-22 07:59:11 -07:00
Ilan Cosman
3e0dc2c3dc
Don't set SHA, just set location
2022-01-16 17:00:40 -08:00
Ilan Cosman
dccc5120f1
Remove --is-inside-git-dir
2022-01-14 20:05:46 -08:00
Ilan Cosman
95f143dc51
Shorten and combine options
2022-01-12 10:24:41 -08:00
Ilan Cosman
4945e83ecf
Remove --quiet, shouldn't be necessary anymore
2021-11-13 15:42:24 -08:00
Ilan Cosman
267187e0de
Minor performance improvement for git item
2021-11-08 16:14:48 -08:00
Ilan Cosman
9c58d82889
Better regex
2021-11-01 08:49:31 -07:00
Ilan Cosman
6047c86351
Replace --regex with -r, it's used often enough
2021-10-31 13:44:16 -07:00
Ilan Cosman
f7afe8caaf
Appease shellcheck
2021-10-31 11:16:17 -07:00
Ilan Cosman
055f298b12
Add tide_git_truncation_length ( #221 )
2021-10-31 10:53:43 -07:00
Ilan Cosman
1aff60688a
Use last tag instead of first, more specific
2021-10-26 13:39:32 -07:00
Ilan Cosman
1edb196234
Minor edits
2021-10-26 10:50:54 -07:00
Ilan Cosman
0389bb6a99
Remove spurious quotes
2021-10-14 18:09:55 -07:00
Ilan Cosman
3e7b702ae0
Combine string matches in git item
2021-10-09 09:59:22 -07:00
Ilan Cosman
62a87872ff
Fix git bg color
2021-10-03 12:07:00 -07:00
Ilan Cosman
9f11d9fa6b
Minor edits
2021-09-30 21:18:16 -07:00
Ilan Cosman
e0bf7eca1a
Use string match to set variables instead of read
2021-09-30 10:14:55 -07:00
Ilan Cosman
049074e2a3
Minor edits
2021-09-27 11:21:19 -07:00
Ilan Cosman
5174c77d76
Minor edits
2021-09-23 17:47:59 -07:00
Ilan Cosman
980e6af695
Use function scoping
2021-09-23 08:35:10 -07:00
Ilan Cosman
832dc5f2b5
Use fewer command substitutions in git item
2021-09-21 18:16:00 -07:00
Ilan Cosman
e2f594cde1
Use echo
2021-09-21 18:16:00 -07:00
Ilan Cosman
9c0ed1e4ce
Add variable caching
2021-08-21 21:43:42 -07:00
Ilan Cosman
7ebdc5c490
Minor git performance improvement
2021-07-06 14:09:17 -07:00
Ilan Cosman
aefd66c45a
Add changing background color to git item ( closes #163 )
2021-06-27 10:47:11 -07:00
Ilan Cosman
040a94980e
Minor edits
2021-06-13 16:44:11 -07:00
Ilan Cosman
230821a99f
Rename variables
2021-05-20 08:46:39 -07:00
Ilan Cosman
ba103857c8
Add git icon ( #154 )
2021-05-16 10:02:38 -07:00
Ilan Cosman
26c758cf30
Minor edits
2021-05-13 12:44:48 -07:00
Ilan Cosman
67def5c37b
Switch to snake case
2021-05-12 13:13:51 -07:00
Ilan Cosman
8ebdffab21
Add special characters to indicate git tags and shas (work on #154 )
2021-05-12 09:35:19 -07:00
Ilan Cosman
c36f0d16f3
Display git tag when available (work on #154 )
2021-05-12 08:33:35 -07:00
Ilan Cosman
5592e225c9
Convert many items to _tide_print_item
2021-04-23 14:41:11 -07:00
Ilan Cosman
735023d3d3
Fix git item in bare repos ( fixes #145 )
2021-04-13 21:51:14 -07:00
Ilan Cosman
29a7de545f
Fix git item in .git dir
2021-04-13 21:19:59 -07:00
Ilan Cosman
8e1dbc1870
Add --no-optional-locks to background git status
2021-04-04 20:04:09 -07:00
Ilan Cosman
85d1741f40
Only use gitDir for status if necessary ( fixes #138 )
2021-04-04 18:28:04 -07:00
Ilan Cosman
67f1ce4480
Put stash before git status info
2021-03-27 09:16:22 -07:00
Ilan Cosman
21d57439dd
Always fetch git status, even in .git dir
2021-03-27 09:07:44 -07:00
Ilan Cosman
781fab9904
Fix git staged/dirty counters
2021-03-25 21:28:58 -07:00
Ilan Cosman
22683c674f
Don't set a length for git SHA
2021-03-25 16:59:13 -07:00
Ilan Cosman
1cc1b83037
Use redirections instead of cat
2021-03-20 18:03:07 -07:00
Ilan Cosman
05af630a82
Run new fish_indent on code
2021-03-02 09:46:40 -08:00
Ilan Cosman
5091eb60ca
Don't error if in .git directory of git repo
2021-02-09 15:54:01 -08:00
Ilan Cosman
8aedd1ddf7
Print git info in a nicer way
2021-02-03 10:06:26 -08:00