dstask icon indicating copy to clipboard operation
dstask copied to clipboard

ensure git is properly configured

Open ghistes opened this issue 4 years ago • 1 comments

Hi,

when running dstask for the very first time it should ensure that git is usable.

This means:

  • it should bail out (with an appropriate error message) should there be no git installed
  • prompt the user for email and name in case git is installed but not configured and use this to configure git so that it is usable

ghistes avatar Jan 22 '21 02:01 ghistes

I would not endorse actually writing to their git configs. However an error message that includes a prompt "is git installed?" could be fine during the first-run initialization, but maybe not on every invocation.

So I like the first suggestion, but not the second so much

dontlaugh avatar Jan 22 '21 03:01 dontlaugh