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