Giter Club home page Giter Club logo

commity's Introduction

commity's People

Contributors

cynnexis avatar

Watchers

 avatar

Forkers

pombredanne

commity's Issues

πŸ““ Redirect output to file

Add the possibility to redirect output to a file. Pipes cannot be used without raising the exception:

UnicodeEncodeError: 'charmap' codec can't encode characters

Maybe it's caused by the emojis?

πŸ› Cannot get all commits of feature branch if it has a sub-feature branch

The following is the representation of the git testing repo:

                            * commit 11 (change-first-lorem-paragraph)
                            |     πŸ“ Update first paragraph of lorem text
                            |
        commit 10 (lorem) * |
          Add lorem again | |
                          | /
                          |/
                       |  * commit 9 (lorem)
                          |     ✨ Add more lorem!
                       |  |
                          * commit 8 (lorem)
                       |  |     ✨ Add lorem
                         /
                       |/
                       |
                       * commit 7 (master)
                       |     πŸ“ Update README
 commit 6 (license) *  |
   Add LICENSE      |  |
                     \ |
                      \|
                       * commit 5 (HEAD -> master)
                       |\    Merge getting-started -> master
                       | \
                       |  |
                       |  * commit 4 (getting-started)
                       |  |     πŸ“ Add more content in Getting Started
                       |  |
                       |  * commit 3 (getting-started)
                       |  |     πŸ“ Add Getting Started section
                       | /
                       |/
                       |
                       * commit 2 (master) (tag: v1.0)
                       |     πŸ“ Add description
                       |
                       * commit 1 (master)
                             πŸŽ‰ First commit

If we call commity.py on the branch lorem (pointing on commit 10), then only the commit 10 is returned, whereas 10, 9 and 8 were expected. This is caused by the algorithm, that stops when a commit with more than 1 child is encountered. This method doesn't work with sub-feature branch such as change-first-lorem-paragraph in this example.

Incompatibility with tags

The script is not compatible with tagged commit. While parsing all the commits, the program checks the reference associated with the commit. If one of them is associated with a tag, then the branch name is not visible, and all commits after this one are considered tagged as well. In a nutshell, the program skips a lot of commits, from the most recent one tagged, to the first commit.

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.