donnemartin / gitsome

A supercharged Git/GitHub command line interface (CLI). An official integration for GitHub and GitHub Enterprise: https://github.com/works-with/category/desktop-tools
Other
7.58k stars 436 forks source link

Restrict mode of configuration file #166

Open mcarpenter opened 5 years ago

mcarpenter commented 5 years ago

Fixes #165

Uses umask for atomicity and chmod to fix perms on pre-existing files.

codecov-io commented 5 years ago

Codecov Report

Merging #166 into master will increase coverage by <.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #166      +/-   ##
==========================================
+ Coverage   95.09%   95.09%   +<.01%     
==========================================
  Files          34       34              
  Lines        2119     2122       +3     
==========================================
+ Hits         2015     2018       +3     
  Misses        104      104
Jimimaku commented 1 year ago

Codecov Report

Merging #166 into master will increase coverage by <.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #166      +/-   ##
==========================================
+ Coverage   95.09%   95.09%   +<.01%     
==========================================
  Files          34       34              
  Lines        2119     2122       +3     
==========================================
+ Hits         2015     2018       +3     
  Misses        104      104
Jimimaku commented 1 year ago

Fixes #165

Uses umask for atomicity and chmod to fix perms on pre-existing files.