new_patchnum="describe: $describe"
extra_info="git_commit_date='$commit_created'"
if [ -n "$branch" ] && [ -n "$remote" ]; then
- unpushed_commit_list=`git cherry $remote/$branch | awk 'BEGIN{ORS=","} /+/ {print $2}' | sed -e 's/,$//'`
- unpushed_commits=`git cherry $remote/$branch | awk 'BEGIN{ORS="\t\\\n"} /+/ {print ",\"" $2 "\""}'`
+ unpushed_commit_list=`git cherry $remote/$branch | awk 'BEGIN{ORS=","} /\+/ {print $2}' | sed -e 's/,$//'`
+ unpushed_commits=`git cherry $remote/$branch | awk 'BEGIN{ORS="\t\\\\\n"} /\+/ {print ",\"" $2 "\""}'`
if [ -n "$unpushed_commits" ]; then
commit_title="Local Commit:"
# WARNING: lib/Config_git.pl is generated by make_patchnum.sh #
# DO NOT EDIT DIRECTLY - edit make_patchnum.sh instead #
#################################################################
-\$Config::Git_Data=<<'ENDOFGIT';
+\\$Config::Git_Data=<<'ENDOFGIT';
git_commit_id='$commit_id'
git_describe='$describe'
git_branch='$branch'