rkotze / git-mob

Co-author commits tool. A cross-platform command-line tool for social coding. Includes co-authors in commits when pair/mob programming.
https://www.npmjs.com/package/git-mob
MIT License
183 stars 21 forks source link

GitMob handleResponse: "git config --get --global commit.template" #110

Closed tomocrafter closed 1 year ago

tomocrafter commented 1 year ago

Prerequisites

Description

If commit.template is not set on git, The GitMob handleResponse: "git config --get --global commit.template" file is being created when ran the command. https://github.com/rkotze/git-mob/blob/93ff1ab56768bec558612b0e8009b25d45c653a7/packages/git-mob-core/src/commands.js#L29

Steps to Reproduce

  1. make sure commit.template has not been set
  2. run command normally

Expected behavior: [What you expect to happen] Throw the error and abort operation, without creating the new file Actual behavior: [What actually happens] creates unfriendly file Reproduces how often: [What percentage of the time does it reproduce?] everytime ran command

Versions

Additional Information

rkotze commented 1 year ago

Hey @tomocrafter

I was not able to reproduce the error. I've removed the commit.template from my git config can no file appears.

I did find this new file appearing issue which might fix your issue.

If that does not work I will need some more information.

rkotze commented 1 year ago

Closed as there has been no further activity on this issue.