Hi, thanks for the wonderful tool! 馃 It's been indispensable in my workflow for years now.
I recently wanted to exclude a directory from showing up in the scmpuff_status (aliased to gs) output, and I noticed that exclusion rules in the pathspec are not taken into account.
For example, the following works as expected with plain git:
git status ':(exclude,top)vendor/*'
Or:
This shows the status of all files, except ones in the vendor directory.
Yet this doesn't work with scmpuff:
gs ':(exclude,top)vendor/*'
Or:
This still shows the status of all files.
An obvious workaround is to do gs | grep -v 'vendor/', but this is inelegant, and shows wrong file numbers.
I'd be happy to contribute this change with a bit of guidance. 馃檪
I'm not sure if there are other pathspec features that should be supported besides exclusions 馃
Cheers!
Hi, thanks for the wonderful tool! 馃 It's been indispensable in my workflow for years now.
I recently wanted to exclude a directory from showing up in the
scmpuff_status(aliased togs) output, and I noticed that exclusion rules in the pathspec are not taken into account.For example, the following works as expected with plain
git:Or:
This shows the status of all files, except ones in the
vendordirectory.Yet this doesn't work with scmpuff:
Or:
This still shows the status of all files.
An obvious workaround is to do
gs | grep -v 'vendor/', but this is inelegant, and shows wrong file numbers.I'd be happy to contribute this change with a bit of guidance. 馃檪
I'm not sure if there are other pathspec features that should be supported besides exclusions 馃
Cheers!