diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-09-24 22:09:39 +0200 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-09-25 10:41:23 +0200 |
commit | 0e5bd9278605cde35e54119d13ccf3fd18d41921 (patch) | |
tree | 8b0ef5fb01fc21c01d45b02085f2b54d3c68af40 /launch_here.rb | |
parent | 26699e832bd4d4571e052ea7db560ab74a321cb8 (diff) |
fix: update deprecated git option
Diffstat (limited to 'launch_here.rb')
-rwxr-xr-x | launch_here.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launch_here.rb b/launch_here.rb index 7c4b2a5f..118f02ab 100755 --- a/launch_here.rb +++ b/launch_here.rb @@ -16,7 +16,7 @@ begin if File.exists? '.git' begin - git_out = `git log -1 --pretty=raw | git name-rev --stdin`.split("\n") + git_out = `git log -1 --pretty=raw | git name-rev --annotate-stdin`.split("\n") commit, branch_spec = git_out.first.scan(/^commit (\S+)(?: \((\S+)\))?$/).first $version_timestamp = git_out[4].split[-2].to_i subject = git_out[6].strip rescue "" |