X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-dirty;h=d2eaac48afe24f3c491487724e9425c341160bb7;hb=e78829f5e4f3f167c40114a40c8d2d002fb5be4e;hp=77cad68b9f80f0917d24b02bfed54dd3d0952285;hpb=bde260ddb033606e9c70830cca48c94962c08021;p=git-scripts.git diff --git a/ls-dirty b/ls-dirty index 77cad68..d2eaac4 100755 --- a/ls-dirty +++ b/ls-dirty @@ -1,10 +1,6 @@ #! /bin/sh -d="`git rev-parse --show-toplevel`" && - -if [ -n "$d" ]; then - if [ -n "`git ls-files --deleted --modified --others --unmerged --killed --exclude-standard --directory --no-empty-directory`" ] - then - echo "$d" - fi +if [ -n "`git ls-files --deleted --modified --others --unmerged --killed --exclude-standard --directory --no-empty-directory`" ] +then + pwd fi