Prevent stamping a commit if there are pending changes in the tree.

Review Request #6712 — Created Dec. 31, 2014 and submitted

Information

RBTools
master
a74c9d5...

Reviewers

When running rbt stamp with any pending changes in the index, those
changes could end being amended into the commit. We now check for
pending changes before attempting to stamp.

Made a change to the tree and tried to stamp a commit. Saw the error
instead.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/stamp.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/commands/stamp.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (fa35ee9)