File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ def status():
474
474
return pquery ([git_cmd , 'status' , '-s' ] + (['-v' ] if verbose else []))
475
475
476
476
def dirty ():
477
- return pquery ([git_cmd , 'diff ' , '--name-only ' , 'HEAD ' ])
477
+ return pquery ([git_cmd , 'status ' , '-uno ' , '--porcelain ' ])
478
478
479
479
def untracked ():
480
480
return pquery ([git_cmd , 'ls-files' , '--others' , '--exclude-standard' ]).splitlines ()
@@ -1180,7 +1180,7 @@ def publish(all=None, top=True):
1180
1180
sync (recursive = False )
1181
1181
1182
1182
if repo .scm .dirty ():
1183
- action (' Uncommitted changes in \" %s\" (%s)' % (repo .name , relpath ( cwd_root , repo .path ) or "." ))
1183
+ action (" Uncommitted changes in %s \" %s\" in \" %s \" " % (repo .pathtype ( repo .path ), repo . name , repo . path ))
1184
1184
raw_input ('Press enter to commit and push: ' )
1185
1185
repo .scm .commit ()
1186
1186
You can’t perform that action at this time.
0 commit comments