Skip to content

Weird behaviour using template #532

Open
@Freyskeyd

Description

@Freyskeyd

Hello,

I'm trying to use git-journal for one of my repository but I see some weird behaviour, I don't know if it's a bug or if I didn't see something.

when using no template I have this:

# Unreleased (2020-05-29):
- [Added] (create|delete)_stream (cb1c862)
    Two methods have be implemented in the `InMemoryBackend`, `create_stream` and `delete_stream`.
      - add create_stream on `InMemoryBackend`
      - add delete_stream on `InMemoryBackend`
- [Added] InMemoryBackend implemention (a64a852)
- [Added] Storage trait and InMemoryBackend (740fea0)
    Initialize the `Storage` trait in the event_store crate.
    Add behaviour tests
- [Added] event_store crate default files (7a29c03)
- [Added] git journal (eb6d7a7)

When generating the default template and using the git journal -t template.toml I get this:

# Unreleased (2020-05-29):
## default
- [Added] (create|delete)_stream (cb1c862)
- Two methods have be implemented in the `InMemoryBackend`, `create_stream` and `delete_stream`. (cb1c862)
    - add create_stream on `InMemoryBackend` (cb1c862)
    - add delete_stream on `InMemoryBackend` (cb1c862)
- [Added] InMemoryBackend implemention (a64a852)
- [Added] Storage trait and InMemoryBackend (740fea0)
- Initialize the `Storage` trait in the event_store crate. (740fea0)
  Add behaviour tests (740fea0)
- [Added] event_store crate default files (7a29c03)
- [Added] git journal (eb6d7a7)

You can see that commit description aren't part of the commit related block.

I was expecting something like:

# Unreleased (2020-05-29):
## default
- [Added] (create|delete)_stream (cb1c862)
    Two methods have be implemented in the `InMemoryBackend`, `create_stream` and `delete_stream`.
      - add create_stream on `InMemoryBackend`
      - add delete_stream on `InMemoryBackend`
- [Added] InMemoryBackend implemention (a64a852)
- [Added] Storage trait and InMemoryBackend (740fea0)
    Initialize the `Storage` trait in the event_store crate.
    Add behaviour tests
- [Added] event_store crate default files (7a29c03)
- [Added] git journal (eb6d7a7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions