tukusejssirs

tukusejssirs commented on issue demure/dotfiles#8

`subbash/prompt`: Length of detached HEAD hash

I agree on short hashes shorter than 7 hex digits. I always keep it unmodified (i.e. to 7 digits as it is set by default). I just wanted to note that (1) you hard-coded it to 8 digits; (2) it won’t change the number of digits if someone changes their config or when the minimum hash size that would not collide is higher than 8 digits (like the `linux` repo).

1 month ago

tukusejssirs opened issue demure/dotfiles#8

`subbash/prompt`: Length of detached HEAD hash

2 months ago

tukusejssirs commented on issue demure/dotfiles#7

`subbash/prompt`: Any reason for adding `[` and `]` to GBranch var instead of PS1?

Oh, I forgot about that. I think it is better to have a few more characters in comparison with additional `if` statement.

2 months ago

tukusejssirs commented on issue demure/dotfiles#6

`subbash/prompt`: GBranch: simplify the command

No problem. I just gave a suggestion which can be rejected—as always. :)

2 months ago

tukusejssirs opened issue demure/dotfiles#7

`subbash/prompt`: Any reason for adding `[` and `]` to GBranch var instead of PS1?

2 months ago

tukusejssirs pushed to master at tukusejssirs/dotfiles

2 months ago

tukusejssirs deleted branch gbranch_optim at tukusejssirs/dotfiles

2 months ago

tukusejssirs pushed to gbranch_optim at tukusejssirs/dotfiles

2 months ago

tukusejssirs created new branch gbranch_optim at tukusejssirs/dotfiles

2 months ago

tukusejssirs deleted branch git_branch_name at tukusejssirs/dotfiles

2 months ago

tukusejssirs commented on issue demure/dotfiles#6

`subbash/prompt`: GBranch: simplify the command

If anything, it should faster (I’ve removed the branch name from the output):

2 months ago

tukusejssirs opened issue hp/gogs#219

Keyboard shortcuts

2 months ago

tukusejssirs opened issue hp/gogs#218

Search in Issues

2 months ago

tukusejssirs opened issue demure/dotfiles#6

`subbash/prompt`: GBranch: simplify the command

2 months ago

tukusejssirs commented on issue demure/dotfiles#5

Feature Request: `subbash/prompt`: checkout to ‘detached HEAD’

You’re right. I did know that I should create a new branch if I want to commit. However, I _thought_ it is still connected to a branch.

2 months ago

tukusejssirs opened issue demure/dotfiles#5

`subbash/prompt`: checkout to ‘detached HEAD’

2 months ago

tukusejssirs commented on issue demure/dotfiles#4

`subbash/prompt`: No commits yet on master

(3) I see. Your terminology confused me. :) … The files/folders can be (using official terminalogy):

2 months ago

tukusejssirs commented on issue demure/dotfiles#4

`subbash/prompt`: No commits yet on master

(1) Current command (`git status --porcelain=2 -b 2>/dev/null | tr '\n' ':' | awk 'match($0,/# branch.head [^ :]+/) {print substr($0,RSTART+14,RLENGTH-14)}'`) works as expected.

2 months ago

tukusejssirs commented on issue demure/dotfiles#4

`subbash/prompt`: No commits yet on master

Currently, I’m out of reach my computer, therefore I couldn’t test it with the repo I encountered the issue first. However I’ve tested it in Termux. The message does not have to have elipsis:

2 months ago

tukusejssirs commented on issue demure/dotfiles#4

`subbash/prompt`: No commits yet on master

Thank you for the explanation. :)

2 months ago