GREP_OPTIONS variable hinders interactive git-rebase functionality
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-core (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I get the following error when running interactive git mergebase:
/usr/lib/
I'm sure that's because I've GREP_OPTIONS environment variable exported, and contain the value: "-nHI --exclude=
Description: Ubuntu 9.04
Release: 9.04
git-core:
Installed: 1:1.6.0.4-1ubuntu2
Candidate: 1:1.6.0.4-1ubuntu2
Version table:
*** 1:1.6.0.4-1ubuntu2 0
500 http://
100 /var/lib/
Instead of setting GREP_OPTIONS in your dotfiles, I recommend setting an alias in your ~/.bashrc: \*.svn- base'
alias grep='grep -nHI --exclude=
since aliases do not propagate into other scripts.
A patch to sanitize GREP_OPTIONS appeared a little while ago on the upstream mailing list, but so far it has not been committed: article. gmane.org/ gmane.comp. version- control. git/127980
http://
If you still think this is a bug, I recommend following up with upstream.