Code Monkey home page Code Monkey logo

git-foresta's People

Contributors

code-hex avatar takaaki-kasai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

git-foresta's Issues

Ansi Escape Code

I'm trying to use this version of git-forest in combination with TamaMcGlinn/flog-forest in neovim. But the colors do not seem to work any more then.
Are the colors printed as Ansi Escape characters?
Is there anybody with experience with such a use case?

in the terminal
image

within neovim
image

Support --pretty='format:...'

It seems in your very first commit, you removed support for pretty:

    "pretty=s"                => sub {}, # ignore

This is unfortunate, as that is the reason I cannot use git-foresta inside of vim-flog. Vim-flog needs to be able to insert some special characters so that it can see where the commit hash begins, so it runs:

git-forest --pretty='format:__FSTART__%D__FSEP__%h__FSEP____DSTART__%Cblue%ad%Creset %C(yellow)[%h]%Creset %Cgreen{%an}%Creset%Cred%d%Creset %s__DEND____FEND__'

I tried re-adding like so:

-    "pretty=s"                => sub {}, # ignore
+		"pretty=s"                => \$Pretty_fmt,

but it prints garbage, probably because of some special characters being used:

$ ./git-forest --pretty='format:__FSTART__%D__FSEP__%h__FSEP____DSTART__%Cblue%ad%Creset %C(yellow)[%h]%Creset %Cgreen{%an}%Creset%Cred%d%Creset %s__DEND____FEND__'
__FSTART 1970-01-01 01:00  ○
__FSTART 1970-01-01 01:00  ◎
                           ├─┐
__FSTART 1970-01-01 01:00  │ ●
                           ├─┘
__FSTART 1970-01-01 01:00  ●
__FSTART 1970-01-01 01:00  ●
(...)

Oddly enough, even if I specify what is already the default value, it fails (commit message not shown):

$ git-forest --pretty='format:%H\t%at\t%an\t%C(reset)%C(auto)%d%C(reset)\t%s'
543537c2 1970-01-01 01:00  ○
45ffea85 1970-01-01 01:00  ◎
                           ├─┐
d481a127 1970-01-01 01:00  │ ●
                           ├─┘
a16adc14 1970-01-01 01:00  ●
7031fc34 1970-01-01 01:00  ●
(...)

--date=relative doesn't work

I found out --date is not supported, this is a great tool that I would like to use in my work flow.

Anyway, thank you for this !

Emoji in name doesn't render correctly

Not sure if this is expected and there's nothing you can do about this or not, but if the user has emoji in their name, then those characters don't render correctly in terminal.

image

The username displays in Gitlab like this:

image

Compact merges

Would it be possible to use the corner glyphs to represent the merge itself? So, instead of:

Screenshot from 2021-03-03 08-18-24

We would get:

Screenshot from 2021-03-03 08-18-24_edit

I think this makes it clearer that the commit is a merge, rather than using a different type of circular blob, as you currently have.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.