Skip to content

Commit

Permalink
Fix incorrect file names in commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Durieu committed Nov 4, 2020
1 parent c088bd3 commit e5ed7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cmd/push.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def compute_message(status_method)
result = "\n#{status_method.capitalize}:\n"
repo = Git.open(Config.repo_path)
repo.status.send(status_method).each_key do |file|
result += "\t#{File.basename(file)}\n"
result += "\t#{file.delete_prefix('src/')}\n"
end
result
end
Expand Down

0 comments on commit e5ed7f6

Please sign in to comment.