support spaces in filenames in git-conflicts

This commit is contained in:
Sami Samhuri 2015-04-01 11:06:51 -07:00
parent bc71acffde
commit 5496b7f740

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
# Usage: git-conflicts # Usage: git-conflicts
# Show list of files in a conflict state. # Show list of files in a conflict state.
git ls-files -u | awk '{print $4}' | sort -u git ls-files -u | cut -f2- | sort -u