eb5c9cd277c2bcd521aa461d06e9d8a32509c1d3 braney Thu Oct 9 12:17:30 2025 -0700 make it possible to use a cart variable in addition to an hg.conf variable to turn on quickLift diff --git src/hg/inc/cart.h src/hg/inc/cart.h index 7c41e124d2c..5188800e913 100644 --- src/hg/inc/cart.h +++ src/hg/inc/cart.h @@ -686,17 +686,19 @@ void cartRewrite(struct cart *cart, unsigned trackDbCartVersion, unsigned cartVersion); /* Rewrite the cart to update it to expectations of trackDb. */ void cartTurnOnSuper(struct cart *cart, char **trackNames, unsigned numTracks, char *superTrackName); /* Turn on a supertrack if any of the subtracks are not hidden. ASSUMES ALL TRACKS ARE HIDDEN * by default. */ void cartMatchValue(struct cart *cart, char *oldTrackName, char *newTrackName); /* Make new track have the same visibility as an old track */ char *cartNamedSessionDbTable(); /* Get the name of the table that lists named sessions. Don't free the result. */ +char *cartOrCfgOption(struct cart *cart, char *name); +/* Return the option with the given name. First check cart then hg.conf. Return NULL if * it doesn't exist. */ #endif /* CART_H */