<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -168,11 +168,10 @@ ANSI_RESET=&quot;\001$(git config --get-color &quot;&quot; &quot;reset&quot;)\002&quot;
 # detect whether the tree is in a dirty state. returns
 _git_dirty() {
 	if git status 2&gt;/dev/null | fgrep -q '(working directory clean)'; then
-		local dirty_marker=&quot;`git config gitsh.dirty || echo ' *'`&quot;
-		_git_apply_color &quot;$dirty_marker&quot; &quot;color.sh.dirty&quot; &quot;red&quot;
-	else
 		return 0
 	fi
+	local dirty_marker=&quot;`git config gitsh.dirty || echo ' *'`&quot;
+	_git_apply_color &quot;$dirty_marker&quot; &quot;color.sh.dirty&quot; &quot;red&quot;
 }
 
 # detect the current branch; use 7-sha when not on branch</diff>
      <filename>git-sh.bash</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bd1386bf4cee0cdc9034f2e0429204b4c9b77513</id>
    </parent>
  </parents>
  <author>
    <name>Daenyth</name>
    <email>Daenyth+git@gmail.com</email>
  </author>
  <url>http://github.com/rtomayko/git-sh/commit/5845443ab50a29a8ef895947d5fea89a25b77480</url>
  <id>5845443ab50a29a8ef895947d5fea89a25b77480</id>
  <committed-date>2009-05-18T01:18:14-07:00</committed-date>
  <authored-date>2009-05-17T20:02:25-07:00</authored-date>
  <message>Fix _git_dirty doing the opposite of what it should</message>
  <tree>f4adac4eb2fd86158bf5f97b6c1b794c05ab260e</tree>
  <committer>
    <name>Ryan Tomayko</name>
    <email>r@tomayko.com</email>
  </committer>
</commit>
