rebase: don't preserve most extra fields
This backs out changeset 88fde8db5307.
See the previous patches for why.
#!/usr/bin/env pythonimporterrno,os,sysforfinsys.argv[1:]:try:printf,'->',os.readlink(f)exceptOSErroraserr:iferr.errno!=errno.EINVAL:raiseprintf,'not a symlink'sys.exit(0)