Fix indexing error during "diff -r/"
commite3960931aafc4841588b0a39d74dfaf768c9219b
authorKarl Hasselström <kha@treskal.com>
Wed, 24 May 2006 06:06:58 +0000 (24 08:06 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 24 May 2006 20:59:52 +0000 (24 21:59 +0100)
tree920323d5648a60c42011cbb96220186bf7975acb
parent01f76ccd02493effc275265ddf3b3f567eedd917
Fix indexing error during "diff -r/"

The string indexing when decoding the -r argument for diff made an
implicit assumption that the revision string was at least two
characters long, which broke on the simple invocation "diff -r/".
stgit/commands/diff.py
stgit/utils.py