Commit graph

13 commits

Author SHA1 Message Date
Aurélien Rainone 1094f6d743
go.mod: revert use of gitmux as module name (#128)
Fix #127
2025-07-29 09:26:02 +02:00
Aurélien Rainone 683db00eb2
Bump deps and go version (#126)
* Bump dependencies and go version

* Cosmetics
2025-07-28 20:57:31 +02:00
dependabot[bot] 076c75ffd4
Bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0 (#103)
Bumps gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0.

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 18:36:21 +02:00
Aurélien Rainone 1606e240f4
Issue 77/count insertions deletions (#83)
* tmux: cosmetics

* bump gitstatus to v0.6.0

* testscript: set TestWork to true

* Add Insertions/Deletions to Symbols and Styles

* Show insertions/deletions if 'stats' is in the layout

* Add Test_stats

* Update README.md
2023-02-15 23:27:15 +01:00
Aurélien Rainone 6031fc2b0d
Improve testing (#64)
* Update gitstatus to v0.5.1

Fixes #63

* Use testscript for end-to-end test of gitmux output
2022-03-11 12:39:22 +01:00
Aurélien Rainone cd50b54ade
go.mod: upgrade to gitstatus@v0.4.4 (#62)
Closes #61
2022-02-21 22:22:31 +01:00
Aurélien Rainone e614142f54
Issue 58/trim branch name right or left (#59)
* Bump gopkg.in/yaml v2 -> v3

* Add branch_trim_direction (default to right)

* tmux: remove Formater.remote()

Formater.remote() is just remoteBranch() followed by divergence()

* tmux: implement and test branch_trim_direction (left|right)

* tmux: s/BranchTrimDirection/BranchTrim

* README.md: update and add branch_trim

* tmux: remove dependency to testify

* tmux: use io.Discard in test
2022-01-23 17:36:31 +01:00
Aurélien Rainone c43cc4ce04
Issue 53/divergence style (#54)
Print Divergence style before behind/ahead count

Fixes #53
2021-09-25 07:15:11 -07:00
Aurélien Rainone 9102751c0b
CI: replace travis with GitHub actions (#56)
Fixes #55

* .travis: run tests with go1.17.x

* go.{mod,sum}: bump dependencies

* .gitignore: add dist/

* ci: run test on github-action

* ci: goreleaser runs on github action
2021-09-25 16:07:49 +02:00
Aurélien Rainone 3983d85658
Issue 37/second try (#42)
* Bump gitstatus to v0.4.3 (NewWithContext)

* Pass -timeout as ctx to gitstatus.NewWithContext
2020-09-02 15:25:59 +02:00
Aurélien Rainone 5282f487a0
Issue 9/add git no optional lock (#10)
* Update README.md

s/GiTmux/Gitmux

* Bump gitstatus

By bumping gitstatus to v0.4.2 we're now calling git with
GIT_OPTIONAL_LOCKS set to 0, ensuring gitstatus does not lock the
working tree for its operations, effectively giving higher
priority to user-initiated operations. This is useful when gitmux
is run in the background.

Fixes #9
2019-12-17 10:12:45 +01:00
Aurélien Rainone 6f1a6ec93f Update to gitstatus@v0.4.1 (#4)
* Moves functions to main.go

* format: add and use package

* ci: use latest Go minor
2019-11-06 23:13:46 +01:00
Aurélien Rainone d0f6255a1f Initial version 2019-10-28 08:45:14 +01:00