Why does “hg status” show changed files when “hg diff -g” doesn't? (One parent)

前端 未结 5 1131
借酒劲吻你
借酒劲吻你 2021-01-31 08:40

I have a repository where:

> hg st

shows that my working directory has some uncommitted changes, while

> hg diff


> h         


        
5条回答
  •  遇见更好的自我
    2021-01-31 08:53

    If you have ignorews or ignoreblanklines set in .hgrc then hg status will show it as changed but hg diff won't (assuming the changes are only whitespace of course).

提交回复
热议问题