Skip to content

Conversation

NathanBaulch
Copy link
Contributor

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

@love-linger
Copy link
Collaborator

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

image

@NathanBaulch
Copy link
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
@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