Skip to content

enhance: more readable command log duration#1570

Merged
love-linger merged 1 commit intosourcegit-scm:developfrom
NathanBaulch:logduration
Jul 14, 2025
Merged

enhance: more readable command log duration#1570
love-linger merged 1 commit intosourcegit-scm:developfrom
NathanBaulch:logduration

Conversation

@NathanBaulch
Copy link
Copy Markdown
Contributor

Minor tweak to the command log duration format, another good use for G3!

@love-linger
Copy link
Copy Markdown
Collaborator

If the time exceeds 1000s (such as cloning a large repo), G3 will use scientific notation to represent it.

image

@NathanBaulch
Copy link
Copy Markdown
Contributor Author

I assumed 99% of operations would be under a minute, and nothing would exceed 999 seconds. Let's just add minute formatting too.

@love-linger love-linger self-assigned this Jul 14, 2025
@love-linger love-linger added the enhancement New feature or request label Jul 14, 2025
@love-linger love-linger merged commit d09ae6c into sourcegit-scm:develop Jul 14, 2025
14 checks passed
love-linger added a commit that referenced this pull request Jul 14, 2025
Signed-off-by: leo <longshuang@msn.cn>
@NathanBaulch NathanBaulch deleted the logduration branch July 14, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants