Please sign in to comment.
upspinfs: corrects link size handling
Correctly reports the symlink size as the size of the content printed out by Readlink. Old code reported size 0 for symlinks. This is correct per upspin specification, but not correct when upspin is viewed through a filesystem mount. Reporting incorrect size led to weird artifacts when using git on top of upspinfs, as git would interpret file size of 0 as file content removal, and would generate spurious diffs. Fixes #619. Change-Id: I17d3ebd04998f7167d060cb90256936a75cc8d7f Reviewed-on: https://upspin-review.googlesource.com/c/upspin/+/19280 Reviewed-by: David Presotto <email@example.com>
- Loading branch information...
Showing with 43 additions and 8 deletions.