Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-15974

stage and master delta not showing

    XMLWordPrintable

Details

    Description

      For the repo - https://bitbucket.org/skyventure/api2-cache

      In branch comparing stage against master - there is no delta (see screenshot).

      However you check the source (or use git cli to git diff stage master) - you clearly see a delta between two codebase.

      #!diff
      
      diff --git a/class.flights.php b/class.flights.php
      index d12ec32..120205a 100644
      --- a/class.flights.php
      +++ b/class.flights.php
      @@ -339,7 +339,7 @@ class Flights {
      
           function getFlightMaxQty($session, $flight, $rules) {
               $qty_remaining = $session['qty_remaining'];
      -        $minutes = (!empty($flight['min_qty']) && $flight['min_qty']>1)?$flight['minutes']/$flight['min_qty']:$flight['minutes'];
      +        $minutes = $flight['minutes'];
      
               return floor($qty_remaining / $minutes);
           }
      
      

      I have patched the above issue against master branch so I can continue working - but this is a dangerous edgecase bug.

      Thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            37e95f523c92 Yixin Xia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: