Re: Clearing logic

2019-03-03 Thread Thomas Gummerer
On 03/03, Rohit Ashiwal wrote: > On 2019-03-03 13:33 UTC Junio C Hamano wrote: > > > test -s makes sure is file; if it is not a file, then > > it won't yield true. > > > On 2019-03-03 13:20 UTC Rohit Ashiwal wrote: > > > test_path_is_file "$1" && > > > if ! test -s "$1" > > According to th

Clearing logic

2019-03-03 Thread Rohit Ashiwal
On 2019-03-03 13:33 UTC Junio C Hamano wrote: > test -s makes sure is file; if it is not a file, then > it won't yield true. > On 2019-03-03 13:20 UTC Rohit Ashiwal wrote: > > test_path_is_file "$1" && > > if ! test -s "$1" According to the conditional if the path is not a file then we w