Skip to content

Instantly share code, notes, and snippets.

@mvk
Last active January 28, 2017 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mvk/ee01ef9d513d44ce0ea43a95fca0d88c to your computer and use it in GitHub Desktop.
Save mvk/ee01ef9d513d44ce0ea43a95fca0d88c to your computer and use it in GitHub Desktop.
gitfoo

Graph#1

    master: --o----o-----o-------o---------------
               \                  \
                \                  \
                 \                  \
    feature:      o----o-----o--o----o<- HEAD
                  a    b     c  d

Result of this graph should be: ['a', 'b', 'c', 'd']

Graph#2

    master: --o----o-----o----o-o------o--------------
               \          \             \
                \          \             \
                 \          \             \
    feature:      o----o-----o-----o--o----o<- HEAD
                  a    b           c  d

Result of this graph should too be: ['a', 'b', 'c', 'd']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment