Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Modify error paths to be relative to the working directory #421

Merged
merged 1 commit into from
Oct 26, 2015

Conversation

dradtke
Copy link

@dradtke dradtke commented Oct 6, 2015

This commit updates gb to automatically modify error paths in a command's output to be relative to the user's working directory, enabling the use of tools like Vim's quickfix to help navigate errors. Before, it would output directory information on individual lines, and the line containing the error would mean nothing to an editor since it would only be the file's base name, but with this patch, gb error output is now easily and correctly parsed by editors.

This is a very simple change tailored to my specific use case, and there are probably some changes that could be made to have it integrate better with the rest of gb, but it works, and is very straightforward in its functionality.

@davecheney
Copy link
Contributor

Thank you for this proposal. However, I would like to see the solution implemented as per #406

davecheney added a commit that referenced this pull request Oct 26, 2015
Modify error paths to be relative to the working directory
@davecheney davecheney merged commit a947775 into constabulary:master Oct 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants