It's a real thing, pilots of U2 spy planes that needed to fly for ~18 hours straight without any possibility of pooping, needed to be on a special diet for a few days before a mission.
What exactly it consisted of I don't know, but this is the internet, so I'm sure it can be found. I suspect mainly beef. Maybe jerky?