Skip to content

fix smudge attempts from zero len file - #267

Merged
technoweenie merged 1 commit into
masterfrom
smudge-zero-len-fix
Apr 28, 2015
Merged

technoweenie merged 1 commit into
masterfrom
smudge-zero-len-fix

Conversation

@technoweenie

Copy link
Copy Markdown
Contributor

Quick fix for #266. It'd be nice if smudge could verify files as it's writing them. But, it simply streams the contents to stdout. By the time it's realized the file is bad, it's already written to the working directory. Checking the file before writing to stdout could add significant time when smudging large files.

@technoweenie technoweenie mentioned this pull request Apr 28, 2015
17 tasks done
technoweenie added a commit that referenced this pull request Apr 28, 2015
fix smudge attempts from zero len file
@technoweenie
technoweenie merged commit 8a39372 into master Apr 28, 2015
@technoweenie
technoweenie deleted the smudge-zero-len-fix branch April 28, 2015 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant