Merge branch 'rs/simplify-by-deco-with-deco-refs-exclude'
"git log --decorate-refs-exclude=<pattern>" was incorrectly overruled when the "--simplify-by-decoration" option is used, which has been corrected. * rs/simplify-by-deco-with-deco-refs-exclude: log-tree: call load_ref_decorations() in get_name_decoration() log: test --decorate-refs-exclude with --simplify-by-decoration
This commit is contained in:
@ -77,6 +77,7 @@ void add_name_decoration(enum decoration_type type, const char *name, struct obj
|
||||
|
||||
const struct name_decoration *get_name_decoration(const struct object *obj)
|
||||
{
|
||||
load_ref_decorations(NULL, DECORATE_SHORT_REFS);
|
||||
return lookup_decoration(&name_decoration, obj);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user