git-graph

Command line tool to show clear git graphs arranged for your branching model

MIT License

Downloads
6.4K
Stars
527
Committers
3
git-graph - git-graph 0.6.0 Latest Release

Published by mlange-42 6 months ago

Features

  • Adds option --reverse for reverse display of the history (#79 by djosh34)
git-graph - git-graph 0.5.3

Published by mlange-42 almost 2 years ago

  • Update all dependencies
  • Fix for breaking changes
git-graph - git-graph 0.5.1

Published by mlange-42 about 2 years ago

Bug fixes

  • Bugfix for keyboard shortcuts (#56)

Other

  • CI migrated to GitHub Actions (#57)
git-graph - git-graph 0.5.0

Published by mlange-42 over 3 years ago

Library release, no changes for the application

Internal code simplifications by unwrapping write! (when writing to String), instead of bubbling up errors that never occur.

Library changes

  • print::format::format_branches(...) now returns String instead of Result<String, _>
git-graph - git-graph 0.4.3

Published by mlange-42 almost 4 years ago

Bug fixes

  • Shows all tags now, including those missing before (fix for #49)
git-graph - git-graph 0.4.2

Published by mlange-42 almost 4 years ago

Bug fixes

  • Although shallow clones are still not supported, give a more informative error message when trying to display a shallow clone
git-graph - git-graph 0.4.1

Published by mlange-42 almost 4 years ago

Bug fixes

  • Fix of spaces around detached HEAD in formatting
git-graph - git-graph 0.4.0

Published by mlange-42 almost 4 years ago

Features

  • Branches merged from forks into equally-named branches of the current repository can be treated separately
    • E.g. when a branch master from a fork is merged into master, it can be displayed as if it was a feature branch

Library changes

Breaking changes

  • print_unicode now returns the graph lines separated from text lines

Other changes

  • BranchInfo now holds the indices of source and target branch in source_branch and target_branch
git-graph - git-graph 0.3.0

Published by mlange-42 almost 4 years ago

Library release, no changes for the application

Breaking changes

  • Renamed GitGraph::branches to GitGraph::all_branches

Non-breaking changes

  • Give access to actual branches and tags
  • Store actual branches and tags as indices into all_branches
git-graph - git-graph 0.2.0

Published by mlange-42 almost 4 years ago

Library release, no changes for the application

This release tries to make git-graph usable as a library.

Breaking changes

  • Restructured modules
  • print_unicode now also returns the index map from commit index to output line, in addition to output text lines
git-graph - git-graph 0.1.7

Published by mlange-42 almost 4 years ago

Features

  • Firts character of styles and formats can be used as abbreviations
  • Improved branch sorting into visual columns.

The improved algorithm tries to place branches near to / to the right of branches they merge into and branches they deviate from.
Illustration:

comparison_branch_sorting

Documentation

  • Improved manual, extended by illustrations for styles and formats
git-graph - git-graph 0.1.6

Published by mlange-42 almost 4 years ago

Bigfixes

  • Fixed severe bug that broke custom formatting with only a single line per commit
git-graph - git-graph 0.1.5

Published by mlange-42 almost 4 years ago

⚠️ Do not use this version! It is severely broken for custom formatting. ⚠️

Features

  • CLI option --wrap for line wrapping of formatted commit output
  • Automatic line wrapping for terminal width

Internal

  • Reduced binary size and compile time through exclusion of unnecessary dependency features
git-graph - git-graph 0.1.4

Published by mlange-42 almost 4 years ago

Features

  • Commit formatting like git log --format=...
  • CLI option --color with [auto|always|never]
  • Improved CLI help

Bugfixes

  • Equal color for related local and remote branches
  • Over-trace equally named branches to avoid "breaks" after merges of high-persistence branches
  • No crash on stashes
  • No crash on tags listed by libgit2 that actually aren't tags
  • Minor fixes to RegEx in branching models

Documentation

  • Added Manual: docs/manual.md
  • Performance example with cargo repository (10k commits)
git-graph - git-graph 0.1.3

Published by mlange-42 almost 4 years ago

Features

  • Paged output: print only one terminal page and wait for user input (Down, PgDown, Esc/Q/^C)
  • Switch --no-pager to disable paging
  • Show related remote and local branches in the same color

Bugfixes

  • Fixed Regex in predefined models for correct start of line in case of OR (...)|(...)
git-graph - git-graph 0.1.2

Published by mlange-42 almost 4 years ago

Features

  • Can be run from sub-directory (i.e. searches for repositories also upwards the directory tree)
  • CLI argument --path to run for a repository outside the current path
  • Prevent setting a non-existent model for a repository
  • More informative error messages and help texts
git-graph - git-graph 0.1.1

Published by mlange-42 almost 4 years ago

Features

  • Display tags and HEAD
  • Support for indexed 256-color palette
  • Automatically detect color support (e.g. print without colors when piped to file)

Bugfixes

  • Display commits that can only be reached from tags, but not from branches
git-graph - git-graph 0.1.0

Published by mlange-42 almost 4 years ago