20 Commits

Author SHA1 Message Date
Rylan Polster
4bdc11ddc9
tap: fix renamed branches with brew tap --repair 2021-01-28 09:10:13 -05:00
Seeker
bd25e7da2a utils/git_repository: add ::git_branch and ::git_commit_message 2021-01-20 17:34:54 -08:00
Seeker
9bf409111c git_repository: raise error instead of returning nil if safe 2021-01-17 09:01:04 -08:00
Seeker
eefe5bb295 git_repository: add safe argument to git_head/git_short_head 2021-01-12 10:29:27 -08:00
Seeker
dea4eb52b8 git_repository: Use Utils::Git.git instead of plain "git" 2021-01-07 11:45:11 -08:00
Seeker
02c207a9ec git_repository: replace compound unless with equivalent if 2021-01-07 11:45:11 -08:00
Seeker
41e0619de8 utils: add git_repository 2021-01-07 11:45:11 -08:00
Jonathan Chang
8b206dfa33 git_extensions: move commit_message from utils/git 2020-12-06 14:33:23 +11:00
Jonathan Chang
92d3eda914 git_extensions: move origin_branch from utils/git 2020-12-06 14:33:23 +11:00
Jonathan Chang
75be0ca4d0 git_repository: add type signatures and comments 2020-12-06 14:33:23 +11:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
3118fedab9 Refactor and document Git. 2020-08-23 06:40:07 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
Markus Reiter
5dd571adeb Replace #chuzzle with ActiveSupport’s #presence. 2018-10-07 23:10:56 +02:00
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00
Markus Reiter
42db173851 Get rid of unnecessary cds. 2018-05-21 20:44:25 +02:00
Markus Reiter
c4c00e4ede Use safe_system instead of Utils.popen_read. 2018-05-21 01:43:49 +02:00
Markus Reiter
b109e6da5d Handle Tap migration in Tap#initialize. 2018-05-21 01:43:49 +02:00
Ben Muschol
fe5c885da0 Implement changes 2017-09-27 16:32:13 -04:00
Martin Afanasjew
6cdc6b1460 Add GitRepositoryExtension
Add an extension for accessing Git-related meta data that can be mixed
in into a Pathname object (e.g. `HOMBREW_REPOSITORY` or the path of a
`Tap` instance). The goal here is to eliminate code duplication.
2016-07-07 01:46:58 +02:00