• K
    Revise credentials diffing flow to use a separate diff command · 03e44f93
    Kasper Timm Hansen 提交于
    Didn't like the complicated stuff that happened on credentials:edit. It
    would append to .gitattributes multiple times. Though I see why it was
    written that way.
    
    I'm cutting off for now, but since this new flow would require each developer
    to run --enable perhaps this should really be:
    
    1. Developer enrolls Rails app by running `credentials:diff --enable`
    2. credentials:edit checks .gitattributes for `diff=rails_credentials` and
       if the current file is covered by that.
    3. If so, set up the "rails_credentials" driver automatically.
    03e44f93
credentials_test.rb 6.5 KB