Download raw body.
Problem with got update?
Stefan Sperling <stsp@stsp.name> [2021-01-04, 11:42 +0100]: > On Sun, Jan 03, 2021 at 10:13:07PM +0200, Timo Myyrä wrote: > >> Hi, >> >> While figuring out how to get single files contents at given commit I >> attempted to use update command. It seems to behave oddly when running >> repeatedly with same arguments. >> >> Is this expected? > > What did you expect instead? > Hmm, well looking at man page I would have expected either the just README.org be reverted to commit bf832809c3806e9b69db972abaa3d38fd427573e if straight file can be given as path argument. Or if file is not an valid path argument I would have expected some error or nothing happening. Now it would seem to ... delete one file from work tree after each invocation of the command which is the odd part. timo >> tmy@asteroid dotfiles $ got update -c bf832809c3806e9b69db972abaa3d38fd427573e README.org >> D .abclrc >> Updated to commit bf832809c3806e9b69db972abaa3d38fd427573e >> tmy@asteroid dotfiles $ got update -c bf832809c3806e9b69db972abaa3d38fd427573e README.org >> D .clisprc >> Updated to commit bf832809c3806e9b69db972abaa3d38fd427573e >> tmy@asteroid dotfiles $ got update -c bf832809c3806e9b69db972abaa3d38fd427573e README.org >> D .config/conky/scripts/conky_lua_scripts.lua >> Updated to commit bf832809c3806e9b69db972abaa3d38fd427573e >> tmy@asteroid dotfiles $ got update -c bf832809c3806e9b69db972abaa3d38fd427573e README.org >> D .config/fbpanel/default >> Updated to commit bf832809c3806e9b69db972abaa3d38fd427573e >> tmy@asteroid dotfiles $ got update -c bf832809c3806e9b69db972abaa3d38fd427573e README.org >> D .config/fontconfig/fonts.conf >> Updated to commit bf832809c3806e9b69db972abaa3d38fd427573e >> tmy@asteroid dotfiles $ >> >> But I found the got cat in the end so all is well. >> >> Timo >> >>
Problem with got update?