=== Applying patches on top of PostgreSQL commit ID 81b2179b492e3af891544813b7e22a42386b34d0 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. Sat Nov 14 21:40:31 UTC 2026 On branch cf/6366 nothing to commit, working tree clean === using 'git am' to apply patch ./v4-0001-pgindent-Use-git-ls-files-to-discover-files.patch === Applying: pgindent: Use git ls-files to discover files Using index info to reconstruct a base tree... M src/tools/pgindent/pgindent Falling back to patching base and 3-way merge... Auto-merging src/tools/pgindent/pgindent CONFLICT (content): Merge conflict in src/tools/pgindent/pgindent error: Failed to merge in the changes. hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 pgindent: Use git ls-files to discover files When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". === using patch(1) to apply patch ./v4-0001-pgindent-Use-git-ls-files-to-discover-files.patch === patching file src/tools/pgindent/pgindent Hunk #2 succeeded at 444 (offset 107 lines). Hunk #3 FAILED at 415. 1 out of 3 hunks FAILED -- saving rejects to file src/tools/pgindent/pgindent.rej Unstaged changes after reset: M src/tools/pgindent/pgindent Removing src/tools/pgindent/pgindent.rej === using 'git apply' to apply patch ./v4-0001-pgindent-Use-git-ls-files-to-discover-files.patch === Applied patch to 'src/tools/pgindent/pgindent' with conflicts. U src/tools/pgindent/pgindent diff --cc src/tools/pgindent/pgindent index f75c006bbff,f5bc4b3642a..00000000000 --- a/src/tools/pgindent/pgindent +++ b/src/tools/pgindent/pgindent @@@ -480,30 -415,8 +522,33 @@@ $filtered_typedefs_fh = load_typedefs() check_indent(); ++<<<<<<< ours +my $wanted = sub { + my ($dev, $ino, $mode, $nlink, $uid, $gid); + return unless (($dev, $ino, $mode, $nlink, $uid, $gid) = lstat($_)); + + # Don't even descend into a build tree. + # + # Note that File::Find has chdir'd into the containing directory, + # so $_ is what we must test. For a directory named on the + # command line, $_ is ".", and we process such a directory even if + # it is a build tree, since that was asked for explicitly. + if (-d _) + { + $File::Find::prune = 1 + if ($_ ne "." && is_build_dir($_)); + return; + } + + -f _ + && /^.*\.[ch]\z/s + && push(@files, $File::Find::name); +}; + ++======= ++>>>>>>> theirs # any non-option arguments are files or directories to be processed - File::Find::find({ wanted => $wanted }, @ARGV) if @ARGV; + push(@files, discover_files(@ARGV)) if @ARGV; # commit file locations are relative to the source root chdir "$sourcedir/../../.." if @commits && $sourcedir;