Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/for-each-ref.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / for-each-ref.h` 26 lines ยท 1014 bytes Raw Blame History 1 #ifndef FOR_EACH_REF_H 2 #define FOR_EACH_REF_H 3 4 struct repository; 5 6 /* 7 * Shared usage string for options common to git-for-each-ref(1) 8 * and git-refs-list(1). The command-specific part (e.g., "git refs list ") 9 * must be prepended by the caller. 10 */ 11 #define COMMON_USAGE_FOR_EACH_REF \ 12 "[--count=] [--shell|--perl|--python|--tcl]\n" \ 13 " [(--sort=)...] [--format=]\n" \ 14 " [--include-root-refs] [--points-at=]\n" \ 15 " [--merged[=]] [--no-merged[=]]\n" \ 16 " [--contains[=]] [--no-contains[=]]\n" \ 17 " [(--exclude=)...] [--start-after=]\n" \ 18 " [ --stdin | (...)]" 19 20 /* 21 * The core logic for for-each-ref and its clones. 22 */ 23 int for_each_ref_core(int argc, const char **argv, const char *prefix, 24 struct repository *repo, const char *const *usage); 25 26 #endif /* FOR_EACH_REF_H */