Ignore:
Timestamp:
Jun 23, 2014, 9:45:51 PM (11 years ago)
Author:
dmik
Message:

git: Merge version 2.0.0 from vendor to dmik branch.

Location:
git/branches/dmik
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • git/branches/dmik

  • TabularUnified git/branches/dmik/contrib/examples/builtin-fetch--tool.c

    r347 r782  
    9797        strcpy(newh, find_unique_abbrev(sha1_new, DEFAULT_ABBREV));
    9898
    99         if (in_merge_bases(current, &updated, 1)) {
     99        if (in_merge_bases(current, updated)) {
    100100                fprintf(stderr, "* %s: fast-forward to %s\n",
    101101                        name, note);
     
    519519                fp = fopen(filename, "a");
    520520                if (!fp)
    521                         return error("cannot open %s: %s\n", filename, strerror(errno));
     521                        return error("cannot open %s: %s", filename, strerror(errno));
    522522                result = append_fetch_head(fp, argv[2], argv[3],
    523523                                           argv[4], argv[5],
     
    537537                fp = fopen(filename, "a");
    538538                if (!fp)
    539                         return error("cannot open %s: %s\n", filename, strerror(errno));
     539                        return error("cannot open %s: %s", filename, strerror(errno));
    540540                result = fetch_native_store(fp, argv[2], argv[3], argv[4],
    541541                                            verbose, force);
Note: See TracChangeset for help on using the changeset viewer.