Skip to content

Releases: glfmn/glitter

Release 0.3.0

24 Sep 19:20
Compare
Choose a tag to compare

Changes

  • New and simplified syntax (#36)
    • named expressions do not have an leading backslash except for \'; for example, \b becomes b
    • group expressions also do not have a leading backslash except for \() to disambiguate from prefixes
  • Glitter now supports separators, a form of intelligent "whitespace" (#35)
  • Add error messages for any parse errors (#36)
    • Error messages are descriptive and point directly to the source of the error: image

This means that all existing users will need to re-write their formats; however, the error messages should be more helpful when doing so.

Release 0.2.2

17 Sep 02:33
Compare
Choose a tag to compare

Changelog:

  • Properly report counts for renamed files when they are staged (#34)
  • Add setup instructions for fish shell

0.2.1: Windows support!

25 Aug 23:50
Compare
Choose a tag to compare

Changelog:

  • support color in windows (#33) and add documentation for powershell
  • add documentation for zsh (#33)

0.2.0

20 Aug 04:16
Compare
Choose a tag to compare

0.2.0

Glit formats work on one line

Glitter now handles bash escapes properly with the -b command line option passed which finally fixes #10. This allows glitter formats to be on line line. This also brings along performance improvements in the interpreter along with the refactor.

Changelog

  • Simpler, better main function (#26)
  • Provide a more user friendly message on panic (#27)
  • Properly escape ANSI codes for bash prompt (#10, #24, #28)
  • Performance improvements in the interpreter (#28)

With this release, I'm happy to say that glitter is in a beta state! The main things left to tackle are the performance of all the git operations. This could be a major undertaking as writing tests and benchmarks that use git repositories seems difficult.

Glitter 0.1.3

11 Feb 05:48
Compare
Choose a tag to compare

Glitter 0.1.3 introduces features to simplify the prompt command.

Changes

  • Allow backslashes in literals (#7)
  • Add "else" format which serves as a fall-back when not in a git repository (#7)

Bugfixes

  • Properly handle backslashes in branch names

Glitter 0.1.1

09 Feb 15:01
377de94
Compare
Choose a tag to compare

Changes

Fixes a critical bug where when entering the sub-folder of a git repository, the repository would no longer be discovered [#4, #5].

Expected

glitter-fix

Broken

broken-glitter

Glitter 0.1.0

05 Feb 17:33
Compare
Choose a tag to compare

Glitter

glit-demo

Glitter is a git repository status pretty printer with support for:

  • ANSI terminal formatting including colors and bold
  • Compact format for requesting and customizing git status information

Intended to become part of a user's shell prompt via something like PROMPT_COMMAND on bash.

Installation

To install glit itself:

cargo install glit

or download the deb from this release.

Add it to your PROMPT_COMMAND, following the example in the README.md if you need some guidance.

Examples

rgb-glit-format-demo