[fossil-users] Fix for stash-next pointer
Dear developers, after $ fossil stash pop or $ fossil stash rm is the pointer for the next stash id (stash-next in table vvar) untouched. Here a tiny patch hopefully without side effects. With regards, Kain stash-next_fix.patch Description: Binary data ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fix for stash-next pointer
On 8/13/16, Kain Abel wrote: > > after > $ fossil stash pop > or > $ fossil stash rm > is the pointer for the next stash id (stash-next in table vvar) untouched. And thus each new stash has a unique id. Is that a problem? -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fix for stash-next pointer
Hi, 2016-08-13 16:38 GMT+02:00 Richard Hipp : > > And thus each new stash has a unique id. Is that a problem? not really, but the id is growing up. Uh, my patch doesn't work, when the last stash will be dropped. if( stashid==0 ) fossil_fatal("empty stash"); in line 401 will break the efforts. :( ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fix for stash-next pointer (fix for the fix)
The next try: another version. (Prevents the growth from stash id after many push and pop operations.) Just for the sake of completeness, Kain stash-next_fix_fix.patch Description: Binary data ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fix for stash-next pointer (fix for the fix)
On 8/13/16, Kain Abel wrote: > The next try: another version. > > (Prevents the growth from stash id after many push and pop operations.) But you still have not made your case for why growth of the stash id is a bad thing. > > Just for the sake of completeness, > Kain > -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users