Re: [PATCH] Added guilt.reusebranch configuration option.
- From
Theodore Ts'o <tytso@mit.edu>
- Date
- May 22, 2013, 14:45 UTC
- Message-ID
- <20130522144531.GB2777@thunk.org>
- In-Reply-To
- <20130522134212.GB13731@poseidon.cudanet.local>
I just had another idea (although I haven't had a chance to code up anything yet). Perhaps instead of, or in addition to, a global setting (i.e., guilt.reusebranch), perhaps we should have a per-branch setting, such as branch.<branch>.guiltReuseBranch?
I was actually thinking that it might be interesting to have a branch.<branch>.rewindable, which would change the guilt defaults, and could also key changes in key git behavior which makes it less likely that a user shoots him or herself in the foot --- i.e., give warnings if he or she has modified the branch in such a way that remotes.origin.<branch> is no longer contained within the branch head.
- Ted